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.001279/0.001279, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 62.03 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006271/0.1371, allocations: 4.947 MB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1399, allocations: 1.287 MB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.1404, allocations: 15.94 kB / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.1408, allocations: 118.7 kB / 365.3 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.1413, allocations: 257.6 kB / 365.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.1422, allocations: 311.5 kB / 365.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1433, allocations: 1.099 MB / 366.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.1438, allocations: 262.5 kB / 367.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.1443, allocations: 418.5 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.1449, allocations: 470 kB / 368 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.145, allocations: 88 kB / 368.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1452, allocations: 112 kB / 368.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.1454, allocations: 195.3 kB / 368.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.1459, allocations: 445.8 kB / 368.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1469, allocations: 1.016 MB / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1469, allocations: 0 / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1469, allocations: 0 / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1469, allocations: 0 / 369.9 MB, free: 2.309 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.002687/0.1496, allocations: 1.258 MB / 371.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1497, allocations: 12.03 kB / 371.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.1499, allocations: 95.81 kB / 371.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.1506, allocations: 499.3 kB / 371.7 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.1507, allocations: 49.69 kB / 371.8 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1508, allocations: 64.38 kB / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2489/0.3998, allocations: 0.6542 MB / 372.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.3998, allocations: 0 / 372.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.3999, allocations: 27.42 kB / 372.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.4, allocations: 14.56 kB / 372.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.4018, allocations: 0.6941 MB / 373.2 MB, free: 20.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.00485/0.4067, allocations: 2.358 MB / 375.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4083, allocations: 0.585 MB / 376.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.4091, allocations: 333.9 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.865e-05/0.4091, allocations: 8.203 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.4102, allocations: 426.7 kB / 376.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.035e-06/0.4102, allocations: 0 / 376.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.0699/0.4802, allocations: 15.42 MB / 392.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.4803, allocations: 148.4 kB / 392.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.481, allocations: 0.5138 MB / 393 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.4813, allocations: 45.7 kB / 393.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.4815, allocations: 391.5 kB / 393.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.4817, allocations: 318.9 kB / 393.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.4821, allocations: 182.5 kB / 393.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4822, allocations: 386.7 kB / 394.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4839, allocations: 0.7205 MB / 395 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.4857, allocations: 0.9629 MB / 396 MB, free: 8.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.489, allocations: 1.696 MB / 397.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.489, allocations: 0 / 397.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02117/0.5102, allocations: 5.37 MB / 403.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5104, allocations: 67.39 kB / 403.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.5104, allocations: 12.06 kB / 403.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03356/0.544, allocations: 6.824 MB / 410 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.5448, allocations: 151.7 kB / 410.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/0.5509, allocations: 3.012 MB / 413.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.5527, allocations: 183.8 kB / 413.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5529, allocations: 51.97 kB / 413.3 MB, free: 7.43 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.0005093/0.5534, allocations: 221.7 kB / 413.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.5536, allocations: 75.06 kB / 413.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/0.5757, allocations: 5.111 MB / 418.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/0.5759, allocations: 10.62 kB / 418.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.5759, allocations: 7.984 kB / 418.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.421e-05/0.576, allocations: 7.922 kB / 418.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.5782, allocations: 1.088 MB / 419.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.5782, allocations: 0.75 kB / 419.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.5787, allocations: 95.88 kB / 420 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03281/0.6116, allocations: 6.785 MB / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.6119, allocations: 23.98 kB / 426.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005811/0.6177, allocations: 3.026 MB / 429.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6177, allocations: 1.5 kB / 429.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02316/0.6409, allocations: 5.989 MB / 435.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.6412, allocations: 148.1 kB / 435.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.6414, allocations: 20 kB / 435.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6427, allocations: 171.8 kB / 436.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.643, allocations: 92.88 kB / 436.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.6431, allocations: 35.97 kB / 436.2 MB, free: 388 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003962/0.6435, allocations: 354.8 kB / 436.6 MB, free: 32 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6435, allocations: 4 kB / 436.6 MB, free: 28 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007427/0.6443, allocations: 258.8 kB / 436.8 MB, free: 15.77 MB / 350.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.0002687/0.6445, allocations: 139.5 kB / 437 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005975/0.6505, allocations: 2.044 MB / 439 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6505, allocations: 4.188 kB / 439 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.6538, allocations: 1.087 MB / 440.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.6546, allocations: 139.7 kB / 440.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.6585, allocations: 1.792 MB / 442 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.6589, allocations: 0.9507 MB / 443 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.6592, allocations: 58.31 kB / 443.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6593, allocations: 35.44 kB / 443.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6594, allocations: 0 / 443.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Templates: time 0.04444/0.7038, allocations: 22.67 MB / 465.8 MB, free: 2.898 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 -s cvode -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/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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches