Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000929/0.000929, allocations: 84.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 159.6 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 274.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.21e-05, allocations: 2.312 kB / 274.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004503/0.004535, allocations: 4.793 MB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.006834, allocations: 1.261 MB / 280.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.007346, allocations: 19.88 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.007631, allocations: 118.8 kB / 280.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.008058, allocations: 277.4 kB / 280.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.008773, allocations: 323.3 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.009792, allocations: 1.13 MB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.01009, allocations: 179 kB / 282.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.01077, allocations: 0.6081 MB / 282.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.01121, allocations: 367 kB / 283.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01132, allocations: 95.98 kB / 283.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.01151, allocations: 116 kB / 283.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.01163, allocations: 207.2 kB / 283.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.01187, allocations: 323.2 kB / 283.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.01257, allocations: 0.7162 MB / 284.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.01258, allocations: 3.984 kB / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01258, allocations: 0 / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.01259, allocations: 0 / 284.6 MB, free: 9.699 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.001578/0.01417, allocations: 1.29 MB / 285.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01421, allocations: 8.031 kB / 285.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.01439, allocations: 144.3 kB / 286.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.01485, allocations: 432.2 kB / 286.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.01488, allocations: 45.69 kB / 286.5 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.01496, allocations: 72.3 kB / 286.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.01556, allocations: 0.5587 MB / 287.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.01558, allocations: 8.156 kB / 287.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.01562, allocations: 24.38 kB / 287.2 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01563, allocations: 19.94 kB / 287.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.01597, allocations: 258.2 kB / 287.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.0181, allocations: 1.788 MB / 289.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.01852, allocations: 293.5 kB / 289.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.01866, allocations: 141.1 kB / 289.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.0187, allocations: 8.5 kB / 289.7 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.01904, allocations: 404 kB / 290.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.783e-06/0.01904, allocations: 0 / 290.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.02441/0.04345, allocations: 9.463 MB / 299.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.04352, allocations: 141.5 kB / 299.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.04393, allocations: 0.5255 MB / 300.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.04405, allocations: 45.7 kB / 300.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.04427, allocations: 447.3 kB / 300.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.04448, allocations: 329.1 kB / 301 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.04473, allocations: 196.1 kB / 301.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.04489, allocations: 0.5585 MB / 301.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.04525, allocations: 281.5 kB / 302 MB, free: 7.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.04574, allocations: 0.6793 MB / 302.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.04656, allocations: 0.8656 MB / 303.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.04657, allocations: 0 / 303.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008343/0.05491, allocations: 3.362 MB / 306.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.05498, allocations: 67.41 kB / 307 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.055, allocations: 4 kB / 307 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.07022, allocations: 5.168 MB / 312.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.07057, allocations: 127.8 kB / 312.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.07328, allocations: 2.566 MB / 314.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.07403, allocations: 119.9 kB / 315 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/0.07409, allocations: 39.97 kB / 315 MB, free: 10.45 MB / 298.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.0002791/0.07437, allocations: 229.2 kB / 315.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.07453, allocations: 111.4 kB / 315.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007616/0.08215, allocations: 3.032 MB / 318.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.08216, allocations: 12 kB / 318.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.08217, allocations: 0 / 318.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.08219, allocations: 3.984 kB / 318.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.08302, allocations: 0.5941 MB / 319 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.08303, allocations: 0 / 319 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.08322, allocations: 71.88 kB / 319.1 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/0.09699, allocations: 5.105 MB / 324.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.09713, allocations: 31.91 kB / 324.2 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.09945, allocations: 2.493 MB / 326.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.09945, allocations: 4.25 kB / 326.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008335/0.1078, allocations: 3.26 MB / 330 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.1079, allocations: 75.41 kB / 330 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1081, allocations: 20 kB / 330.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.1086, allocations: 115.9 kB / 330.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.1088, allocations: 88.77 kB / 330.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.1088, allocations: 23.97 kB / 330.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1091, allocations: 330.6 kB / 330.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1091, allocations: 0 / 330.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000532/0.1096, allocations: 260 kB / 330.9 MB, free: 10.43 MB / 314.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.0001964/0.1098, allocations: 127.2 kB / 331 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.1119, allocations: 1.193 MB / 332.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1119, allocations: 4 kB / 332.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.113, allocations: 0.5922 MB / 332.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1135, allocations: 164 kB / 332.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1157, allocations: 1.452 MB / 334.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.1158, allocations: 164 kB / 334.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.116, allocations: 58.2 kB / 334.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.1163, allocations: 206.1 kB / 334.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1163, allocations: 0 / 334.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of Templates: time 0.02774/0.144, allocations: 20.58 MB / 355.4 MB, free: 1.957 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_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.6900469539687037]