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.001386/0.001386, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001533/0.001533, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.176 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 1.453e-06/1.453e-06, allocations: 0 / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.281e-05, allocations: 3.469 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00598/0.006003, allocations: 4.43 MB / 329.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.008942, allocations: 1.257 MB / 330.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.009662, allocations: 18.97 kB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.01009, allocations: 122 kB / 330.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.01093, allocations: 274.6 kB / 331.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009129/0.01184, allocations: 315.8 kB / 331.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.01336, allocations: 1.131 MB / 332.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.01377, allocations: 185.7 kB / 332.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.0149, allocations: 0.6051 MB / 333.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.01568, allocations: 366.8 kB / 333.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.0159, allocations: 89.75 kB / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.01627, allocations: 118.7 kB / 334 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.0165, allocations: 198.1 kB / 334.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.0171, allocations: 318.6 kB / 334.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.01871, allocations: 1.084 MB / 335.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01871, allocations: 5.5 kB / 335.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01872, allocations: 0 / 335.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.803e-05/0.01876, allocations: 3.938 kB / 335.6 MB, free: 9.52 MB / 302.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.003376/0.02214, allocations: 1.206 MB / 336.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.02218, allocations: 9.312 kB / 336.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.02246, allocations: 99.98 kB / 336.9 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.02338, allocations: 413.6 kB / 337.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.02344, allocations: 51.27 kB / 337.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.02357, allocations: 64.53 kB / 337.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.02529, allocations: 0.7773 MB / 338.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.02531, allocations: 4.141 kB / 338.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.02539, allocations: 30.05 kB / 338.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.02541, allocations: 19.91 kB / 338.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.02731, allocations: 0.694 MB / 338.9 MB, free: 7.148 MB / 302.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.00476/0.03207, allocations: 1.813 MB / 340.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.0337, allocations: 0.5554 MB / 341.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.03453, allocations: 302.8 kB / 341.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.03458, allocations: 12.5 kB / 341.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.03572, allocations: 0.5458 MB / 342.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.584e-06/0.03573, allocations: 0 / 342.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07656/0.1123, allocations: 15.24 MB / 357.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.1124, allocations: 145.5 kB / 357.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.1133, allocations: 0.5223 MB / 358.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.1135, allocations: 45.7 kB / 358.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.1139, allocations: 392.7 kB / 358.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/0.1143, allocations: 325.2 kB / 358.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000463/0.1148, allocations: 182.5 kB / 359 MB, free: 2.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.115, allocations: 386.7 kB / 359.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.1174, allocations: 0.7862 MB / 360.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.1199, allocations: 1.088 MB / 361.2 MB, free: 448 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/0.1246, allocations: 1.693 MB / 362.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.1246, allocations: 4 kB / 362.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02559/0.1502, allocations: 5.401 MB / 368.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.1503, allocations: 63.41 kB / 368.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.1503, allocations: 8 kB / 368.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03737/0.1877, allocations: 6.832 MB / 375.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.1885, allocations: 143.8 kB / 375.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/0.1959, allocations: 3.02 MB / 378.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.1979, allocations: 183.8 kB / 378.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.1981, allocations: 43.98 kB / 378.6 MB, free: 14.83 MB / 350.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.0005905/0.1987, allocations: 240.9 kB / 378.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.1989, allocations: 83.42 kB / 378.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02518/0.2241, allocations: 5.06 MB / 384 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.2241, allocations: 12 kB / 384 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2241, allocations: 0 / 384 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.2242, allocations: 3.984 kB / 384 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.2258, allocations: 0.762 MB / 384.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.2258, allocations: 0 / 384.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.2264, allocations: 99.83 kB / 384.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03746/0.2638, allocations: 6.774 MB / 391.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.2641, allocations: 23.98 kB / 391.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007147/0.2712, allocations: 3.025 MB / 394.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.2713, allocations: 7.938 kB / 394.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02726/0.2985, allocations: 5.945 MB / 400.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2988, allocations: 71.45 kB / 400.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.2991, allocations: 23.98 kB / 400.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.3006, allocations: 167.9 kB / 400.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.3009, allocations: 108.7 kB / 401 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.301, allocations: 31.98 kB / 401 MB, free: 8.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005136/0.3015, allocations: 346.8 kB / 401.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3015, allocations: 0 / 401.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3026, allocations: 259.9 kB / 401.6 MB, free: 7.656 MB / 366.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.0003678/0.303, allocations: 135.4 kB / 401.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006706/0.3097, allocations: 2.027 MB / 403.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3097, allocations: 1.375 kB / 403.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003798/0.3135, allocations: 1.015 MB / 404.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.3143, allocations: 130.2 kB / 404.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3183, allocations: 1.756 MB / 406.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3187, allocations: 357.6 kB / 407 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.3189, allocations: 58.22 kB / 407.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3191, allocations: 40.48 kB / 407.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3191, allocations: 3.938 kB / 407.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of Templates: time 0.0351/0.3542, allocations: 18.91 MB / 426 MB, free: 15.26 MB / 398.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/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.709861792623997]