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.0009717/0.0009717, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009819/0.0009819, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.481e-05, allocations: 2.312 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005755/0.00578, allocations: 4.857 MB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.008566, allocations: 1.272 MB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.009049, allocations: 11.94 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.009369, allocations: 122.7 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.009929, allocations: 281.4 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/0.01083, allocations: 315.4 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.01222, allocations: 1.13 MB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.01255, allocations: 186.9 kB / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.01341, allocations: 0.6119 MB / 281.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.01399, allocations: 371 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.01413, allocations: 88 kB / 282.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.01453, allocations: 116 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.01468, allocations: 207.2 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.01501, allocations: 323.2 kB / 282.8 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009353/0.01594, allocations: 0.7123 MB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01595, allocations: 0 / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01595, allocations: 4 kB / 283.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.01596, allocations: 0 / 283.6 MB, free: 6.734 MB / 266.7 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.001961/0.01793, allocations: 1.286 MB / 284.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.01797, allocations: 8.031 kB / 284.9 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.0182, allocations: 148.3 kB / 285 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.01882, allocations: 428.2 kB / 285.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.01886, allocations: 49.69 kB / 285.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.01897, allocations: 72.31 kB / 285.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.01991, allocations: 0.6055 MB / 286.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01993, allocations: 192 / 286.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.01998, allocations: 28.36 kB / 286.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.02001, allocations: 19.94 kB / 286.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.02065, allocations: 327.5 kB / 286.5 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.02351, allocations: 1.765 MB / 288.3 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.02415, allocations: 325.6 kB / 288.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.02441, allocations: 161.8 kB / 288.8 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.02446, allocations: 8.5 kB / 288.8 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.02493, allocations: 432 kB / 289.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.946e-06/0.02494, allocations: 0 / 289.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1756/0.2005, allocations: 9.78 MB / 299 MB, free: 25.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.2006, allocations: 148.6 kB / 299.1 MB, free: 25.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.2012, allocations: 0.534 MB / 299.6 MB, free: 24.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/0.2013, allocations: 42.83 kB / 299.7 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.2015, allocations: 441.6 kB / 300.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.2017, allocations: 331.8 kB / 300.4 MB, free: 24.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.202, allocations: 189.7 kB / 300.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2021, allocations: 0.5531 MB / 301.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.2027, allocations: 350.2 kB / 301.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.2033, allocations: 0.7317 MB / 302.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2046, allocations: 0.983 MB / 303.2 MB, free: 22.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2046, allocations: 4 kB / 303.2 MB, free: 22.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0102/0.2148, allocations: 3.523 MB / 306.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.2148, allocations: 72.02 kB / 306.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.2149, allocations: 8 kB / 306.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/0.2312, allocations: 5.153 MB / 312 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.2315, allocations: 123.8 kB / 312.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.2337, allocations: 2.568 MB / 314.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.2344, allocations: 123 kB / 314.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.2344, allocations: 47.97 kB / 314.8 MB, free: 10.9 MB / 266.7 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.000252/0.2347, allocations: 224.3 kB / 315.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2348, allocations: 111.5 kB / 315.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/0.242, allocations: 3.173 MB / 318.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.242, allocations: 8 kB / 318.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.242, allocations: 0 / 318.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.242, allocations: 3.984 kB / 318.4 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.2429, allocations: 0.6824 MB / 319 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2429, allocations: 0 / 319 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.2431, allocations: 63.89 kB / 319.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01292/0.256, allocations: 5.12 MB / 324.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.2561, allocations: 28.84 kB / 324.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.2588, allocations: 2.578 MB / 326.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2588, allocations: 0 / 326.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008563/0.2673, allocations: 3.478 MB / 330.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.2675, allocations: 67.48 kB / 330.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.2677, allocations: 23.98 kB / 330.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.2682, allocations: 106.3 kB / 330.5 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.2683, allocations: 96.8 kB / 330.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.2684, allocations: 35.97 kB / 330.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002784/0.2687, allocations: 342.8 kB / 331 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2687, allocations: 0 / 331 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006901/0.2694, allocations: 259.9 kB / 331.2 MB, free: 10.38 MB / 282.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.000261/0.2696, allocations: 135 kB / 331.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.272, allocations: 1.239 MB / 332.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2721, allocations: 0 / 332.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.2732, allocations: 0.6468 MB / 333.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.2738, allocations: 148.6 kB / 333.4 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.2762, allocations: 1.509 MB / 334.9 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2763, allocations: 163.8 kB / 335.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.2764, allocations: 57.09 kB / 335.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.2765, allocations: 36.5 kB / 335.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2765, allocations: 0 / 335.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of Templates: time 0.02199/0.2985, allocations: 19.11 MB / 354.3 MB, free: 3.477 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9260364822112024]