Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003769/0.003769, allocations: 146.2 kB / 24.68 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8228/0.8228, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.416e-05, allocations: 2.281 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003606/0.00362, allocations: 4.389 MB / 324.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.005092, allocations: 1.237 MB / 325.3 MB, free: 172 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.005306, allocations: 11.94 kB / 325.3 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.005504, allocations: 134.7 kB / 325.5 MB, free: 24 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.005788, allocations: 277.4 kB / 325.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.006215, allocations: 311.4 kB / 326.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.006832, allocations: 1.13 MB / 327.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.007046, allocations: 182.9 kB / 327.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.007465, allocations: 0.6042 MB / 328 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.007785, allocations: 366.9 kB / 328.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.007865, allocations: 92 kB / 328.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.007998, allocations: 116 kB / 328.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.0081, allocations: 203.2 kB / 328.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.008294, allocations: 315.2 kB / 329 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.008985, allocations: 1.087 MB / 330.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008987, allocations: 0 / 330.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008988, allocations: 3.938 kB / 330.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.008996, allocations: 0 / 330.1 MB, free: 11.35 MB / 298.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.00164/0.01064, allocations: 1.201 MB / 331.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01067, allocations: 8.922 kB / 331.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01077, allocations: 100.4 kB / 331.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.01119, allocations: 429.3 kB / 331.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01122, allocations: 49.69 kB / 331.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.01129, allocations: 60.38 kB / 332 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.01208, allocations: 0.7844 MB / 332.7 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.0121, allocations: 8.125 kB / 332.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.01214, allocations: 24.38 kB / 332.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.01215, allocations: 19.94 kB / 332.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.01306, allocations: 0.6883 MB / 333.5 MB, free: 7.883 MB / 298.7 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.002077/0.01514, allocations: 1.813 MB / 335.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.01594, allocations: 0.5595 MB / 335.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.01633, allocations: 310.8 kB / 336.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.01636, allocations: 8.5 kB / 336.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.0169, allocations: 0.5407 MB / 336.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.503e-06/0.0169, allocations: 4 kB / 336.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.03103/0.04794, allocations: 15.24 MB / 352 MB, free: 5.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.048, allocations: 149.4 kB / 352.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.04862, allocations: 0.5185 MB / 352.6 MB, free: 4.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.04868, allocations: 41.7 kB / 352.7 MB, free: 4.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.04886, allocations: 396.7 kB / 353 MB, free: 4.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.04902, allocations: 329.2 kB / 353.4 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.04924, allocations: 182.6 kB / 353.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.04934, allocations: 382.8 kB / 353.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.05042, allocations: 0.7824 MB / 354.7 MB, free: 2.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.0516, allocations: 1.084 MB / 355.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.05375, allocations: 1.693 MB / 357.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.05375, allocations: 8 kB / 357.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01075/0.0645, allocations: 5.401 MB / 362.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.06454, allocations: 59.41 kB / 362.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.06455, allocations: 12.12 kB / 363 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/0.07942, allocations: 6.829 MB / 369.8 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.07973, allocations: 143.7 kB / 369.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.08288, allocations: 3.02 MB / 372.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.08357, allocations: 183.8 kB / 373.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.08363, allocations: 43.98 kB / 373.2 MB, free: 15.57 MB / 346.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.0002625/0.08389, allocations: 221.6 kB / 373.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.08397, allocations: 87.42 kB / 373.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.09411, allocations: 5.06 MB / 378.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.09412, allocations: 11.98 kB / 378.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.09413, allocations: 4 kB / 378.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.09413, allocations: 7.984 kB / 378.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.09479, allocations: 0.7618 MB / 379.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.09479, allocations: 0 / 379.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.09503, allocations: 99.81 kB / 379.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01474/0.1098, allocations: 6.778 MB / 386.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.1098, allocations: 31.95 kB / 386.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.1132, allocations: 3.033 MB / 389.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1132, allocations: 3.938 kB / 389.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.1244, allocations: 5.945 MB / 395.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1245, allocations: 71.5 kB / 395.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.1246, allocations: 20 kB / 395.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.1252, allocations: 171.8 kB / 395.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.1253, allocations: 104.8 kB / 395.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.1254, allocations: 31.98 kB / 395.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004856/0.1259, allocations: 350.8 kB / 395.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1259, allocations: 0 / 395.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.1264, allocations: 259.9 kB / 396.2 MB, free: 8.375 MB / 362.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.0001897/0.1265, allocations: 130.4 kB / 396.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.1295, allocations: 2.035 MB / 398.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1295, allocations: 4 kB / 398.4 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.1311, allocations: 1 MB / 399.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1315, allocations: 130.1 kB / 399.5 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1336, allocations: 1.79 MB / 401.3 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1338, allocations: 361.6 kB / 401.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1339, allocations: 40.5 kB / 401.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1339, allocations: 0 / 401.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of Templates: time 0.01216/0.1461, allocations: 17.76 MB / 419.4 MB, free: 1.047 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.946716336533427]