Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.237, allocations: 53.41 MB / 432.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006788/0.2438, allocations: 4.993 MB / 437.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2467, allocations: 1.291 MB / 438.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.2474, allocations: 19.88 kB / 438.8 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2478, allocations: 118.7 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.2487, allocations: 261.7 kB / 439.1 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.2496, allocations: 315.6 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.2511, allocations: 1.099 MB / 440.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.2515, allocations: 183 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.2522, allocations: 434.5 kB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.2529, allocations: 482 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.2531, allocations: 88 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.2533, allocations: 116 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2535, allocations: 199.3 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.254, allocations: 453.8 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2553, allocations: 1.04 MB / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2553, allocations: 0 / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2553, allocations: 0 / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.2553, allocations: 0 / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002883/0.2582, allocations: 1.209 MB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2582, allocations: 12.03 kB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.2584, allocations: 100.3 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.2593, allocations: 426.2 kB / 445.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2593, allocations: 49.69 kB / 445.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2594, allocations: 72.27 kB / 445.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2609, allocations: 0.6548 MB / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2609, allocations: 0 / 446 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.261, allocations: 31.94 kB / 446 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.261, allocations: 16 kB / 446.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.2627, allocations: 0.6999 MB / 446.8 MB, free: 8.297 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/0.267, allocations: 2.304 MB / 449.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.2685, allocations: 0.5585 MB / 449.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.2692, allocations: 314.6 kB / 449.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.2693, allocations: 12.42 kB / 449.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00097/0.2702, allocations: 433.4 kB / 450.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.595e-06/0.2702, allocations: 0 / 450.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07332/0.3436, allocations: 15.23 MB / 465.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3437, allocations: 149.5 kB / 465.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.3444, allocations: 0.5186 MB / 466.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.3446, allocations: 45.7 kB / 466.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.3449, allocations: 396.7 kB / 466.7 MB, free: 4.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.3453, allocations: 333.2 kB / 467 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.3457, allocations: 178.6 kB / 467.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3459, allocations: 390.7 kB / 467.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.348, allocations: 0.7205 MB / 468.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.3503, allocations: 0.9668 MB / 469.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.3545, allocations: 1.689 MB / 471 MB, free: 15.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3545, allocations: 0 / 471 MB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02445/0.379, allocations: 5.331 MB / 476.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.379, allocations: 67.39 kB / 476.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3791, allocations: 4 kB / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0361/0.4152, allocations: 6.836 MB / 483.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.4159, allocations: 147.8 kB / 483.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.4224, allocations: 3.017 MB / 486.3 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.4242, allocations: 179.9 kB / 486.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.4244, allocations: 47.97 kB / 486.6 MB, free: 15.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006674/0.425, allocations: 225.6 kB / 486.8 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.4253, allocations: 87.47 kB / 486.9 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02338/0.4487, allocations: 5.056 MB / 491.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.4487, allocations: 12 kB / 491.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4487, allocations: 7.984 kB / 492 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.4487, allocations: 3.984 kB / 492 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.4506, allocations: 1.072 MB / 493 MB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.4506, allocations: 7.984 kB / 493 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.4512, allocations: 95.81 kB / 493.1 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03568/0.4869, allocations: 6.777 MB / 499.9 MB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.4871, allocations: 27.98 kB / 499.9 MB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006446/0.4935, allocations: 3.033 MB / 0.4912 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4935, allocations: 0 / 0.4912 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02532/0.5188, allocations: 5.948 MB / 0.497 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.5191, allocations: 79.39 kB / 0.4971 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.5193, allocations: 19.94 kB / 0.4971 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.5208, allocations: 171.8 kB / 0.4972 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.521, allocations: 104.8 kB / 0.4973 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5211, allocations: 31.97 kB / 0.4974 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.5217, allocations: 350.9 kB / 0.4977 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5217, allocations: 0 / 0.4977 GB, free: 8.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009441/0.5227, allocations: 260 kB / 0.498 GB, free: 8.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/0.523, allocations: 131.1 kB / 0.4981 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006244/0.5292, allocations: 1.973 MB / 0.5 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5292, allocations: 0 / 0.5 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003666/0.5329, allocations: 1.004 MB / 0.501 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5339, allocations: 134.5 kB / 0.5011 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.5385, allocations: 1.845 MB / 0.5029 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.5392, allocations: 0.9506 MB / 0.5039 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.5394, allocations: 39.44 kB / 0.5039 GB, free: 2.191 MB / 414.1 MB Notification: Performance of SimCode: time 1.784e-06/0.5394, allocations: 4 kB / 0.5039 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Templates: time 0.02801/0.5674, allocations: 17.48 MB / 0.521 GB, free: 0.7383 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.52189780306071]