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.001314/0.001314, allocations: 71.75 kB / 21.24 MB, free: 0.543 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.001417/0.001417, allocations: 158.2 kB / 24.49 MB, free: 3.711 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.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.002087/0.002087, allocations: 54.86 kB / 325.6 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 53.34 MB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006126/0.1105, allocations: 4.419 MB / 383.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.113, allocations: 1.245 MB / 384.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.1134, allocations: 15.94 kB / 384.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1137, allocations: 122.7 kB / 384.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.1143, allocations: 269.7 kB / 385 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1149, allocations: 311.5 kB / 385.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.116, allocations: 1.095 MB / 386.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1163, allocations: 182.9 kB / 386.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.1168, allocations: 430.5 kB / 387 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.1174, allocations: 426 kB / 387.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1175, allocations: 88 kB / 387.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.1177, allocations: 116 kB / 387.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1179, allocations: 199.3 kB / 387.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.1183, allocations: 386.2 kB / 388.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1194, allocations: 1.039 MB / 389.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1194, allocations: 0 / 389.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1194, allocations: 0 / 389.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1194, allocations: 0 / 389.2 MB, free: 5.434 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.00257/0.122, allocations: 1.209 MB / 390.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.122, allocations: 8.031 kB / 390.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1222, allocations: 108.3 kB / 390.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.1229, allocations: 426.1 kB / 390.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.1229, allocations: 45.69 kB / 391 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.123, allocations: 68.33 kB / 391.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.1247, allocations: 0.7881 MB / 391.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.1247, allocations: 3.938 kB / 391.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.1248, allocations: 28 kB / 391.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.1249, allocations: 20 kB / 391.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.1269, allocations: 0.6922 MB / 392.6 MB, free: 1.938 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.003753/0.1306, allocations: 1.793 MB / 394.4 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.1322, allocations: 0.5634 MB / 394.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/0.1329, allocations: 314.8 kB / 395.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.133, allocations: 12.48 kB / 395.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.134, allocations: 0.5458 MB / 395.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 1.893e-06/0.134, allocations: 0 / 395.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.07041/0.2044, allocations: 15.24 MB / 411 MB, free: 15.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2045, allocations: 145.5 kB / 411.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006668/0.2052, allocations: 0.5184 MB / 411.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.2053, allocations: 49.7 kB / 411.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.2057, allocations: 392.7 kB / 412.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.206, allocations: 329.2 kB / 412.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.2064, allocations: 186.5 kB / 412.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.2066, allocations: 386.8 kB / 413 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.2088, allocations: 0.7784 MB / 413.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.2112, allocations: 1.092 MB / 414.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.2155, allocations: 1.704 MB / 416.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2155, allocations: 3.938 kB / 416.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02354/0.239, allocations: 5.393 MB / 422 MB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.2391, allocations: 66.02 kB / 422.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.2391, allocations: 12 kB / 422.1 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03474/0.2739, allocations: 6.825 MB / 428.9 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.2746, allocations: 151.7 kB / 429 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/0.2809, allocations: 3.009 MB / 432 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.2826, allocations: 175.9 kB / 432.2 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.2827, allocations: 47.97 kB / 432.3 MB, free: 9.629 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.0004162/0.2831, allocations: 233.5 kB / 432.5 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2833, allocations: 95.3 kB / 432.6 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02287/0.3062, allocations: 5.06 MB / 437.6 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.3062, allocations: 12 kB / 437.7 MB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3062, allocations: 11.98 kB / 437.7 MB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.3062, allocations: 3.984 kB / 437.7 MB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3074, allocations: 0.7657 MB / 438.4 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3074, allocations: 0 / 438.4 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.308, allocations: 99.81 kB / 438.5 MB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03466/0.3427, allocations: 6.777 MB / 445.3 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.3428, allocations: 23.97 kB / 445.3 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/0.3494, allocations: 3.033 MB / 448.4 MB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3494, allocations: 0 / 448.4 MB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/0.3742, allocations: 5.941 MB / 454.3 MB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3744, allocations: 75.5 kB / 454.4 MB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.3746, allocations: 23.94 kB / 454.4 MB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.3761, allocations: 171.8 kB / 454.6 MB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.3763, allocations: 96.83 kB / 454.7 MB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.3764, allocations: 35.97 kB / 454.7 MB, free: 3.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004418/0.3769, allocations: 350.8 kB / 455 MB, free: 2.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3769, allocations: 0 / 455 MB, free: 2.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.3777, allocations: 256 kB / 455.3 MB, free: 2.434 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.000245/0.3779, allocations: 138.3 kB / 455.4 MB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006615/0.3845, allocations: 2.027 MB / 457.5 MB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3845, allocations: 0 / 457.5 MB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003621/0.3882, allocations: 1.008 MB / 458.5 MB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.3888, allocations: 134.4 kB / 458.6 MB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.3927, allocations: 1.803 MB / 460.4 MB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3931, allocations: 361.6 kB / 460.8 MB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.3933, allocations: 54.23 kB / 460.8 MB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3935, allocations: 36.5 kB / 460.8 MB, free: 12.78 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3935, allocations: 0 / 460.8 MB, free: 12.78 MB / 430.1 MB Notification: Performance of Templates: time 0.2074/0.6009, allocations: 19.03 MB / 479.9 MB, free: 90.26 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 -s ida -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: 5.793463036068715]