Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007048/0.0007048, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008482/0.0008482, allocations: 161.8 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8379/0.8379, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.599e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003149/0.003165, allocations: 4.191 MB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.004951, allocations: 1.233 MB / 305.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.005185, allocations: 15.94 kB / 305.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.005353, allocations: 110.8 kB / 305.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.005922, allocations: 261.6 kB / 305.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.00643, allocations: 311.3 kB / 305.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.007148, allocations: 1.079 MB / 306.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.007361, allocations: 178.9 kB / 307.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.007848, allocations: 0.5886 MB / 307.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.008138, allocations: 355 kB / 308 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.00821, allocations: 88 kB / 308.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.008331, allocations: 112 kB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.008426, allocations: 199.3 kB / 308.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.008599, allocations: 307.2 kB / 308.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.009255, allocations: 1.055 MB / 309.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.009257, allocations: 0 / 309.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009258, allocations: 0 / 309.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.009265, allocations: 8 kB / 309.8 MB, free: 12.79 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001269/0.01053, allocations: 1.147 MB / 310.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.01056, allocations: 23.86 kB / 310.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.01066, allocations: 92.38 kB / 311 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.01105, allocations: 411.2 kB / 311.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01108, allocations: 45.69 kB / 311.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.01114, allocations: 60.38 kB / 311.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.01192, allocations: 0.7726 MB / 312.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.01193, allocations: 192 / 312.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.01197, allocations: 24.38 kB / 312.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.01198, allocations: 23.92 kB / 312.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.01313, allocations: 0.6687 MB / 313 MB, free: 9.422 MB / 298.7 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.001895/0.01503, allocations: 1.754 MB / 314.8 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.01581, allocations: 0.5555 MB / 315.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.0162, allocations: 314.2 kB / 315.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.01623, allocations: 4.5 kB / 315.6 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.01677, allocations: 0.5381 MB / 316.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.633e-06/0.01677, allocations: 4 kB / 316.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0313/0.04807, allocations: 15.23 MB / 331.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.04813, allocations: 153.4 kB / 331.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.0485, allocations: 498.7 kB / 332.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.04857, allocations: 41.7 kB / 332.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.04876, allocations: 372.8 kB / 332.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.04893, allocations: 321.2 kB / 332.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.04915, allocations: 178.5 kB / 332.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.04926, allocations: 382.8 kB / 333.3 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.05036, allocations: 0.7743 MB / 334.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.0518, allocations: 1.064 MB / 335.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.05391, allocations: 1.654 MB / 336.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.05391, allocations: 0 / 336.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01095/0.06486, allocations: 5.381 MB / 342.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.06491, allocations: 63.41 kB / 342.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.06492, allocations: 7.984 kB / 342.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/0.08028, allocations: 6.816 MB / 349.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.08066, allocations: 143.7 kB / 349.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.08396, allocations: 3.017 MB / 352.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.08474, allocations: 187.7 kB / 352.4 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.08481, allocations: 39.98 kB / 352.5 MB, free: 1.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0003178/0.08512, allocations: 229.6 kB / 352.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.08521, allocations: 79.53 kB / 352.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1362/0.2214, allocations: 5.056 MB / 357.8 MB, free: 62.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.2214, allocations: 9.438 kB / 357.8 MB, free: 62.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2214, allocations: 0 / 357.8 MB, free: 62.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.2214, allocations: 3.797 kB / 357.8 MB, free: 62.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.2223, allocations: 0.7432 MB / 358.6 MB, free: 61.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2223, allocations: 4.844 kB / 358.6 MB, free: 61.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.2225, allocations: 94.33 kB / 358.7 MB, free: 61.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01434/0.2369, allocations: 6.769 MB / 365.4 MB, free: 60.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.2369, allocations: 35.62 kB / 365.5 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.2396, allocations: 3.027 MB / 368.5 MB, free: 58.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2396, allocations: 7.438 kB / 368.5 MB, free: 58.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.2498, allocations: 5.953 MB / 374.5 MB, free: 52.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.2499, allocations: 66.81 kB / 374.5 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.2499, allocations: 20 kB / 374.5 MB, free: 52.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.2505, allocations: 167.8 kB / 374.7 MB, free: 52.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2506, allocations: 100.8 kB / 374.8 MB, free: 52.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.2507, allocations: 35.92 kB / 374.8 MB, free: 52.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.2509, allocations: 330.6 kB / 375.2 MB, free: 51.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2509, allocations: 0 / 375.2 MB, free: 51.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.2514, allocations: 255 kB / 375.4 MB, free: 51.59 MB / 330.7 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.0001748/0.2515, allocations: 138.5 kB / 375.5 MB, free: 51.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.2542, allocations: 2.018 MB / 377.6 MB, free: 49.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2542, allocations: 0 / 377.6 MB, free: 49.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.2557, allocations: 1.01 MB / 378.6 MB, free: 48.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2561, allocations: 126.5 kB / 378.7 MB, free: 48.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.2578, allocations: 1.744 MB / 380.4 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.258, allocations: 340.9 kB / 380.8 MB, free: 46.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.2581, allocations: 32.5 kB / 380.8 MB, free: 46.15 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2581, allocations: 0 / 380.8 MB, free: 46.15 MB / 330.7 MB Notification: Performance of Templates: time 0.008757/0.2668, allocations: 17.2 MB / 398 MB, free: 28.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.289162584580481]