Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.00165/0.00165, allocations: 89.3 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001502/0.001502, allocations: 158.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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.558/1.558, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.38e-05, allocations: 2.281 kB / 325 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005732/0.005756, allocations: 4.419 MB / 329.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.009078, allocations: 1.25 MB / 330.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005479/0.009625, allocations: 13.75 kB / 330.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.009989, allocations: 130.2 kB / 330.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.01059, allocations: 278.9 kB / 331.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.01143, allocations: 319.5 kB / 331.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.01264, allocations: 1.13 MB / 332.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.01296, allocations: 182.7 kB / 332.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.01369, allocations: 0.6046 MB / 333.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.01423, allocations: 366.1 kB / 333.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.01441, allocations: 90.31 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.01469, allocations: 111.4 kB / 333.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.01492, allocations: 206.2 kB / 334.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.01539, allocations: 318 kB / 334.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.01691, allocations: 1.085 MB / 335.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01691, allocations: 4 kB / 335.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01691, allocations: 0 / 335.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.01693, allocations: 1.688 kB / 335.5 MB, free: 9.453 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.002811/0.01974, allocations: 1.198 MB / 336.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.01978, allocations: 12.58 kB / 336.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.01998, allocations: 98.83 kB / 336.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.02074, allocations: 427.4 kB / 337.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.02081, allocations: 51.56 kB / 337.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.02094, allocations: 62.94 kB / 337.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.02248, allocations: 0.7775 MB / 338.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.02251, allocations: 8.125 kB / 338.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.02258, allocations: 27.03 kB / 338.2 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.0226, allocations: 18.84 kB / 338.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.0244, allocations: 0.6874 MB / 338.9 MB, free: 7.07 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.003876/0.02827, allocations: 1.813 MB / 340.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.02982, allocations: 0.5592 MB / 341.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/0.03063, allocations: 310.2 kB / 341.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.03067, allocations: 8.5 kB / 341.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.03174, allocations: 0.5458 MB / 342.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.114e-06/0.03174, allocations: 0 / 342.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07366/0.1054, allocations: 15.24 MB / 357.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.1055, allocations: 149.5 kB / 357.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.1063, allocations: 0.5223 MB / 358 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.1065, allocations: 45.64 kB / 358 MB, free: 3.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.1068, allocations: 396.7 kB / 358.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.1071, allocations: 329.2 kB / 358.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.1075, allocations: 182.5 kB / 358.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1077, allocations: 386.7 kB / 359.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.1099, allocations: 0.7785 MB / 360.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.1124, allocations: 1.088 MB / 361.2 MB, free: 360 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/0.1169, allocations: 1.697 MB / 362.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.1169, allocations: 4 kB / 362.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02515/0.1421, allocations: 5.397 MB / 368.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.1422, allocations: 59.41 kB / 368.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.1422, allocations: 8 kB / 368.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03688/0.1791, allocations: 6.828 MB / 375.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.1798, allocations: 151.7 kB / 375.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/0.1866, allocations: 3.028 MB / 378.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.1884, allocations: 183.8 kB / 378.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.1885, allocations: 51.97 kB / 378.6 MB, free: 14.73 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.000485/0.189, allocations: 221.7 kB / 378.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.1892, allocations: 83.42 kB / 378.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02444/0.2136, allocations: 5.064 MB / 383.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.2137, allocations: 8 kB / 383.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2137, allocations: 4 kB / 383.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.2137, allocations: 4.234 kB / 383.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2152, allocations: 0.7545 MB / 384.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2152, allocations: 4 kB / 384.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.2158, allocations: 99.81 kB / 384.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03741/0.2532, allocations: 6.777 MB / 391.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.2535, allocations: 23.98 kB / 391.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/0.2604, allocations: 3.033 MB / 394.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2604, allocations: 3.938 kB / 394.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03765/0.298, allocations: 5.945 MB / 400.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.2984, allocations: 71.5 kB / 400.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.2987, allocations: 16 kB / 400.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/0.3013, allocations: 175.8 kB / 400.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000483/0.3017, allocations: 104.8 kB / 400.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.3019, allocations: 27.98 kB / 401 MB, free: 8.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00081/0.3027, allocations: 350.8 kB / 401.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3027, allocations: 4 kB / 401.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001363/0.3041, allocations: 259.9 kB / 401.6 MB, free: 7.559 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.0004112/0.3045, allocations: 134.3 kB / 401.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01171/0.3162, allocations: 2.032 MB / 403.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3162, allocations: 0 / 403.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006689/0.3229, allocations: 1.015 MB / 404.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.3244, allocations: 125.8 kB / 404.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.3314, allocations: 1.769 MB / 406.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.332, allocations: 353.7 kB / 407 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000483/0.3325, allocations: 62.2 kB / 407 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3327, allocations: 36.5 kB / 407.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3327, allocations: 0 / 407.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Templates: time 0.04192/0.3746, allocations: 18.9 MB / 426 MB, free: 15.17 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.982226125895977]