Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 208.4 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 51.92 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2536, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006203/0.2598, allocations: 4.421 MB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.2623, allocations: 1.248 MB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.2627, allocations: 11.94 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.263, allocations: 126.7 kB / 438.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.2635, allocations: 257.7 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.2642, allocations: 315.5 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2653, allocations: 1.103 MB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.2657, allocations: 171 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.2662, allocations: 426.6 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.2668, allocations: 426 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.2669, allocations: 92 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.2671, allocations: 112 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.2673, allocations: 199.3 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.2677, allocations: 386.2 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.2689, allocations: 1.048 MB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2689, allocations: 0 / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2689, allocations: 0 / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2689, allocations: 3.938 kB / 442.6 MB, free: 12.38 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.002675/0.2716, allocations: 1.213 MB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2716, allocations: 12.03 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2718, allocations: 96.33 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.2726, allocations: 434.1 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.2726, allocations: 45.69 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.2727, allocations: 72.31 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2743, allocations: 0.7803 MB / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.2743, allocations: 0 / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.2743, allocations: 28 kB / 445.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2744, allocations: 16 kB / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.2761, allocations: 0.696 MB / 446 MB, free: 8.887 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.00398/0.2801, allocations: 1.796 MB / 447.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.2817, allocations: 0.5553 MB / 448.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.2824, allocations: 306 kB / 448.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.2825, allocations: 16.42 kB / 448.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.2835, allocations: 0.5371 MB / 449.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.994e-06/0.2836, allocations: 0 / 449.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06999/0.3535, allocations: 15.25 MB / 464.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3537, allocations: 141.5 kB / 464.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.3544, allocations: 0.5262 MB / 465.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.3545, allocations: 41.7 kB / 465.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.3549, allocations: 404.6 kB / 465.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.3552, allocations: 321.2 kB / 465.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.3555, allocations: 190.5 kB / 466.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3558, allocations: 390.8 kB / 466.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.3579, allocations: 0.7746 MB / 467.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.3603, allocations: 1.092 MB / 468.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/0.3647, allocations: 1.693 MB / 470 MB, free: 396 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.3647, allocations: 7.938 kB / 470 MB, free: 388 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02363/0.3883, allocations: 5.401 MB / 475.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.3884, allocations: 67.39 kB / 475.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.3884, allocations: 8.047 kB / 475.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03402/0.4224, allocations: 6.833 MB / 482.3 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.4232, allocations: 147.7 kB / 482.5 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.4294, allocations: 3.013 MB / 485.5 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.4311, allocations: 179.9 kB / 485.7 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.4313, allocations: 47.97 kB / 485.7 MB, free: 0.5664 MB / 382.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.0004713/0.4317, allocations: 225.6 kB / 485.9 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.4319, allocations: 79.48 kB / 486 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02238/0.4543, allocations: 5.072 MB / 491.1 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.4543, allocations: 12 kB / 491.1 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.4543, allocations: 3.938 kB / 491.1 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/0.4544, allocations: 7.969 kB / 491.1 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.4557, allocations: 0.7607 MB / 491.9 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4557, allocations: 4 kB / 491.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.4563, allocations: 87.88 kB / 492 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03423/0.4905, allocations: 6.777 MB / 498.7 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.4907, allocations: 27.97 kB / 498.8 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/0.4972, allocations: 3.033 MB / 0.49 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4972, allocations: 128 / 0.49 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/0.5226, allocations: 5.948 MB / 0.4958 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.5228, allocations: 75.5 kB / 0.4959 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.523, allocations: 19.94 kB / 0.4959 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.5244, allocations: 171.8 kB / 0.4961 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.5247, allocations: 100.8 kB / 0.4962 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.5248, allocations: 35.97 kB / 0.4962 GB, free: 9.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000435/0.5252, allocations: 350.8 kB / 0.4966 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5252, allocations: 0 / 0.4966 GB, free: 9.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007668/0.526, allocations: 263.9 kB / 0.4968 GB, free: 9.379 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.000257/0.5262, allocations: 123.1 kB / 0.4969 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006239/0.5325, allocations: 2.036 MB / 0.4989 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5325, allocations: 0 / 0.4989 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.5361, allocations: 0.9995 MB / 0.4999 GB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.5369, allocations: 132.8 kB / 0.5 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.5409, allocations: 1.85 MB / 0.5018 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.5413, allocations: 357.7 kB / 0.5022 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.5415, allocations: 39.44 kB / 0.5022 GB, free: 3.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5415, allocations: 0 / 0.5022 GB, free: 3.75 MB / 414.1 MB Notification: Performance of Templates: time 0.02484/0.5664, allocations: 17.75 MB / 0.5195 GB, free: 2.023 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.81692266697064]