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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 111.4 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 49.7 kB / 300.8 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09294, allocations: 49.45 MB / 350.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006326/0.09931, allocations: 4.949 MB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1019, allocations: 1.256 MB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.1024, allocations: 15.94 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.1029, allocations: 83.3 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.1037, allocations: 222.1 kB / 356.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.1045, allocations: 271.6 kB / 357 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.1059, allocations: 1.103 MB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.1063, allocations: 262.5 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.1069, allocations: 418.5 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.1075, allocations: 466 kB / 359.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.1077, allocations: 88 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.108, allocations: 112 kB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1082, allocations: 195.3 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.1088, allocations: 449.8 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.1096, allocations: 0.7523 MB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1096, allocations: 8 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1096, allocations: 0 / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.1096, allocations: 0 / 360.8 MB, free: 10.11 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.002728/0.1124, allocations: 1.254 MB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1124, allocations: 12.03 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1126, allocations: 91.81 kB / 362.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1132, allocations: 483.5 kB / 362.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.1133, allocations: 45.69 kB / 362.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.1134, allocations: 68.28 kB / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1149, allocations: 0.6509 MB / 363.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1149, allocations: 0 / 363.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.115, allocations: 28 kB / 363.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.115, allocations: 12 kB / 363.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.1167, allocations: 0.7 MB / 364.2 MB, free: 6.668 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.004242/0.121, allocations: 2.386 MB / 366.5 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.1224, allocations: 0.5866 MB / 367.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.1232, allocations: 326 kB / 367.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.1233, allocations: 12.38 kB / 367.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.1243, allocations: 421.5 kB / 367.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.095e-06/0.1243, allocations: 0 / 367.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.2345/0.3589, allocations: 15.41 MB / 383.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.359, allocations: 144.4 kB / 383.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.3595, allocations: 0.5208 MB / 383.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.3597, allocations: 49.52 kB / 384 MB, free: 22.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3599, allocations: 389.8 kB / 384.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.3601, allocations: 307.2 kB / 384.7 MB, free: 21.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.3604, allocations: 188.4 kB / 384.9 MB, free: 21.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.3605, allocations: 387.8 kB / 385.2 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.3623, allocations: 0.7291 MB / 386 MB, free: 20.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.3642, allocations: 0.9575 MB / 386.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.3678, allocations: 1.69 MB / 388.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3678, allocations: 1.906 kB / 388.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02271/0.3905, allocations: 5.378 MB / 394 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/0.3906, allocations: 66.3 kB / 394.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3907, allocations: 8.625 kB / 394.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0339/0.4246, allocations: 6.829 MB / 400.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.4253, allocations: 151.7 kB / 401 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.4305, allocations: 3.013 MB / 404 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4323, allocations: 185.8 kB / 404.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.4324, allocations: 46.09 kB / 404.3 MB, free: 4.496 MB / 302.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.0004112/0.4329, allocations: 225.6 kB / 404.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4331, allocations: 87 kB / 404.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/0.4553, allocations: 5.099 MB / 409.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.4554, allocations: 12 kB / 409.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4554, allocations: 0 / 409.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.4554, allocations: 7.969 kB / 409.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.4569, allocations: 1.1 MB / 410.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.457, allocations: 0 / 410.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.4575, allocations: 99.83 kB / 410.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03503/0.4926, allocations: 6.785 MB / 417.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/0.4928, allocations: 23.98 kB / 417.7 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.4986, allocations: 3.033 MB / 420.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4986, allocations: 0 / 420.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/0.5237, allocations: 5.999 MB / 426.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.524, allocations: 136.2 kB / 426.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.5243, allocations: 27.92 kB / 426.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.5258, allocations: 167.9 kB / 427.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.5261, allocations: 96.86 kB / 427.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5262, allocations: 31.98 kB / 427.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.5267, allocations: 354.8 kB / 427.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5267, allocations: 0 / 427.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.5275, allocations: 260 kB / 427.8 MB, free: 12.84 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.0002597/0.5278, allocations: 127.2 kB / 427.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006028/0.5338, allocations: 2.062 MB / 430 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5338, allocations: 2.812 kB / 430 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.5373, allocations: 1.093 MB / 431.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.5382, allocations: 137.9 kB / 431.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.5421, allocations: 2.18 MB / 433.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.5426, allocations: 0.9468 MB / 434.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.5428, allocations: 39.44 kB / 434.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of SimCode: time 5.2e-07/0.5428, allocations: 0 / 434.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of Templates: time 0.02128/0.5641, allocations: 17.4 MB / 451.8 MB, free: 4.828 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches