Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 229.5 MB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000939/0.000939, allocations: 92.7 kB / 299.8 MB, free: 5.387 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002411, allocations: 8 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2649, allocations: 51.42 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003407/0.2684, allocations: 4.299 MB / 416.4 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2706, allocations: 1.865 MB / 418.2 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.2709, allocations: 11.94 kB / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.2712, allocations: 91.23 kB / 418.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.2715, allocations: 223.5 kB / 418.5 MB, free: 19.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.2721, allocations: 267.7 kB / 418.8 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.2727, allocations: 1.036 MB / 419.8 MB, free: 17.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.273, allocations: 227.4 kB / 420.1 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.2732, allocations: 362.5 kB / 420.4 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.2736, allocations: 422 kB / 420.8 MB, free: 16.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.2736, allocations: 44 kB / 420.9 MB, free: 16.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.2738, allocations: 67.98 kB / 420.9 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.2739, allocations: 147.3 kB / 421.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2742, allocations: 427.5 kB / 421.5 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.2747, allocations: 0.9354 MB / 422.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2747, allocations: 4 kB / 422.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2747, allocations: 0 / 422.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2748, allocations: 4 kB / 422.4 MB, free: 15.36 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.001899/0.2767, allocations: 1.149 MB / 423.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2767, allocations: 8.031 kB / 423.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2769, allocations: 91.91 kB / 423.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.2774, allocations: 483.5 kB / 424.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.2774, allocations: 45.69 kB / 424.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.2775, allocations: 68.36 kB / 424.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2787, allocations: 0.686 MB / 425 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.2787, allocations: 0 / 425 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.2788, allocations: 28 kB / 425 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2788, allocations: 15.98 kB / 425 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.2803, allocations: 0.7508 MB / 425.7 MB, free: 11.93 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.003129/0.2834, allocations: 2.429 MB / 428.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.2846, allocations: 0.6412 MB / 428.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.2853, allocations: 354 kB / 429.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.2853, allocations: 12.44 kB / 429.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007886/0.2861, allocations: 449.4 kB / 429.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.913e-06/0.2861, allocations: 0 / 429.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.06554/0.3517, allocations: 16.74 MB / 446.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.3519, allocations: 145.5 kB / 446.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.3527, allocations: 0.5146 MB / 447 MB, free: 6.336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.353, allocations: 45.7 kB / 447.1 MB, free: 6.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.3533, allocations: 387.8 kB / 447.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.3538, allocations: 315.3 kB / 447.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3539, allocations: 20 kB / 447.8 MB, free: 5.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.3542, allocations: 390.7 kB / 448.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/0.3566, allocations: 0.7986 MB / 448.9 MB, free: 4.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.3591, allocations: 1.025 MB / 450 MB, free: 3.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.3636, allocations: 1.845 MB / 451.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3636, allocations: 4 kB / 451.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02331/0.3869, allocations: 5.647 MB / 457.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.3871, allocations: 68.58 kB / 457.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.3872, allocations: 11.94 kB / 457.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03402/0.4212, allocations: 7.321 MB / 464.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.4221, allocations: 183.8 kB / 465 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.4295, allocations: 3.208 MB / 468.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.4313, allocations: 215.9 kB / 468.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.4316, allocations: 52.02 kB / 468.5 MB, free: 0.5039 MB / 330.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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * 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.0006434/0.4322, allocations: 225.6 kB / 468.7 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.4325, allocations: 82.97 kB / 468.8 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/0.4552, allocations: 5.459 MB / 474.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.4552, allocations: 8 kB / 474.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4553, allocations: 0 / 474.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/0.4553, allocations: 11.91 kB / 474.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4575, allocations: 1.112 MB / 475.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.4575, allocations: 0 / 475.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.4582, allocations: 131.8 kB / 475.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03404/0.4923, allocations: 7.289 MB / 482.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.4926, allocations: 23.98 kB / 482.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/0.4985, allocations: 3.079 MB / 485.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4986, allocations: 0 / 485.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0249/0.5235, allocations: 6.413 MB / 492.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.5239, allocations: 148.1 kB / 492.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.5243, allocations: 27.98 kB / 492.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.5259, allocations: 207.8 kB / 492.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.5263, allocations: 100.9 kB / 492.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.5264, allocations: 31.97 kB / 492.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004958/0.5269, allocations: 350.8 kB / 493.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5269, allocations: 0 / 493.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001124/0.5281, allocations: 256 kB / 493.4 MB, free: 7.379 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.0003911/0.5285, allocations: 135.2 kB / 493.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007292/0.5358, allocations: 2.332 MB / 495.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5358, allocations: 1.375 kB / 495.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00426/0.5401, allocations: 1.152 MB / 497.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.5417, allocations: 138.1 kB / 497.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.5482, allocations: 2.198 MB / 499.4 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.5491, allocations: 0.9506 MB / 0.4886 GB, free: 404 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005853/0.5497, allocations: 58.28 kB / 0.4887 GB, free: 344 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5499, allocations: 35.44 kB / 0.4887 GB, free: 308 kB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5499, allocations: 0 / 0.4887 GB, free: 308 kB / 362.7 MB Notification: Performance of Templates: time 0.3102/0.8601, allocations: 20.43 MB / 0.5087 GB, free: 98.1 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (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) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches