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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.695/1.695, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 58.48 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007538/0.1485, allocations: 4.965 MB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.152, allocations: 1.28 MB / 363.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.1526, allocations: 15.94 kB / 363.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.1531, allocations: 118.7 kB / 363.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.1536, allocations: 257.6 kB / 364.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.1545, allocations: 303.5 kB / 364.5 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.1558, allocations: 1.103 MB / 365.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.1563, allocations: 266.5 kB / 365.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/0.1569, allocations: 418.5 kB / 366.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.1575, allocations: 466 kB / 366.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1576, allocations: 88 kB / 366.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.1578, allocations: 108 kB / 366.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.158, allocations: 195.3 kB / 367.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.1586, allocations: 445.8 kB / 367.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1596, allocations: 0.9968 MB / 368.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1596, allocations: 0 / 368.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1596, allocations: 0 / 368.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1596, allocations: 4 kB / 368.5 MB, free: 3.023 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.002723/0.1624, allocations: 1.262 MB / 369.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.1624, allocations: 15.97 kB / 369.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1626, allocations: 91.81 kB / 369.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.1634, allocations: 475.5 kB / 370.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.1634, allocations: 49.69 kB / 370.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1635, allocations: 60.38 kB / 370.4 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.165, allocations: 0.6626 MB / 371.1 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.165, allocations: 0 / 371.1 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.1651, allocations: 27.98 kB / 371.1 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.1651, allocations: 16 kB / 371.1 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2642/0.4293, allocations: 0.6922 MB / 371.8 MB, free: 20.16 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.005638/0.435, allocations: 2.378 MB / 374.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.4367, allocations: 0.5807 MB / 374.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/0.4377, allocations: 336.5 kB / 375.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/0.4378, allocations: 15.14 kB / 375.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.4391, allocations: 422 kB / 375.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.667e-06/0.4391, allocations: 0 / 375.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.08935/0.5285, allocations: 15.42 MB / 391 MB, free: 13.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.5287, allocations: 145.4 kB / 391.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.5295, allocations: 0.5202 MB / 391.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.5298, allocations: 42.77 kB / 391.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.5301, allocations: 391 kB / 392.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.5304, allocations: 316.3 kB / 392.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.5308, allocations: 188 kB / 392.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5309, allocations: 382.8 kB / 392.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.5328, allocations: 0.7244 MB / 393.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.5348, allocations: 0.9512 MB / 394.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.5385, allocations: 1.697 MB / 396.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5385, allocations: 4 kB / 396.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02135/0.5599, allocations: 5.366 MB / 401.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/0.56, allocations: 68.28 kB / 401.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.5601, allocations: 12.12 kB / 401.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0332/0.5933, allocations: 6.828 MB / 408.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.5941, allocations: 152.6 kB / 408.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.6007, allocations: 3.016 MB / 411.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.6026, allocations: 187.8 kB / 411.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6027, allocations: 47.97 kB / 412 MB, free: 8.176 MB / 318.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.0005297/0.6032, allocations: 225.7 kB / 412.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6034, allocations: 79.06 kB / 412.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02248/0.6259, allocations: 5.102 MB / 417.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.626, allocations: 12 kB / 417.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.626, allocations: 4.75 kB / 417.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/0.6261, allocations: 3.984 kB / 417.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.6282, allocations: 1.098 MB / 418.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6282, allocations: 3.391 kB / 418.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.6288, allocations: 95.81 kB / 418.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03375/0.6625, allocations: 6.785 MB / 425.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.6628, allocations: 27.97 kB / 425.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/0.6693, allocations: 3.025 MB / 428.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6694, allocations: 2.125 kB / 428.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/0.6944, allocations: 5.976 MB / 434.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.6949, allocations: 149.7 kB / 434.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.6952, allocations: 35.09 kB / 434.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.6965, allocations: 163.8 kB / 434.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.6968, allocations: 96.88 kB / 434.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.6969, allocations: 35.91 kB / 434.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.6975, allocations: 354.8 kB / 435.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6975, allocations: 0 / 435.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008879/0.6984, allocations: 259.8 kB / 435.5 MB, free: 0.5273 MB / 334.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.0003345/0.6987, allocations: 135.8 kB / 435.6 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006605/0.7053, allocations: 2.061 MB / 437.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7054, allocations: 1.375 kB / 437.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003817/0.7092, allocations: 1.094 MB / 438.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.7102, allocations: 126.2 kB / 438.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.7144, allocations: 1.811 MB / 440.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.7151, allocations: 0.9468 MB / 441.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.7155, allocations: 58.27 kB / 441.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7156, allocations: 35.44 kB / 441.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7156, allocations: 0 / 441.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Templates: time 0.04356/0.7592, allocations: 22.66 MB / 464.4 MB, free: 3.617 MB / 366.1 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.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) Reference file matches