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.00132/0.00132, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 60.16 kB / 308.3 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005649/0.1083, allocations: 4.951 MB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1103, allocations: 1.283 MB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.1105, allocations: 11.94 kB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1108, allocations: 130.7 kB / 365.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.1112, allocations: 249.7 kB / 365.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.1118, allocations: 315.5 kB / 365.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000955/0.1128, allocations: 1.099 MB / 366.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.1132, allocations: 262.5 kB / 367.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.1136, allocations: 410.6 kB / 367.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.1141, allocations: 474 kB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.1142, allocations: 92 kB / 368.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1144, allocations: 116 kB / 368.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1145, allocations: 187.3 kB / 368.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.1149, allocations: 449.8 kB / 368.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.1158, allocations: 1.012 MB / 369.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1158, allocations: 0 / 369.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1158, allocations: 0 / 369.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1158, allocations: 3.938 kB / 369.9 MB, free: 2.297 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.002372/0.1182, allocations: 1.254 MB / 371.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1182, allocations: 20.02 kB / 371.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1184, allocations: 91.81 kB / 371.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.1191, allocations: 487.4 kB / 371.7 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.1191, allocations: 49.69 kB / 371.8 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1192, allocations: 60.38 kB / 371.8 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1829/0.3022, allocations: 0.654 MB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3022, allocations: 0.7969 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.3023, allocations: 26.09 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.3023, allocations: 15.03 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.304, allocations: 0.7012 MB / 373.2 MB, free: 20.09 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.003835/0.3079, allocations: 2.363 MB / 375.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3093, allocations: 0.5885 MB / 376.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/0.31, allocations: 330.3 kB / 376.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.31, allocations: 5.938 kB / 376.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008725/0.3109, allocations: 422.9 kB / 376.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.234e-06/0.3109, allocations: 0.9375 kB / 376.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06733/0.3783, allocations: 15.42 MB / 392.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.3784, allocations: 148.9 kB / 392.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.379, allocations: 0.5192 MB / 393 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3792, allocations: 45.7 kB / 393 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3794, allocations: 391.7 kB / 393.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.3796, allocations: 315.1 kB / 393.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.3799, allocations: 186.5 kB / 393.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.38, allocations: 386.7 kB / 394.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.3817, allocations: 0.7205 MB / 395 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.3835, allocations: 0.9629 MB / 396 MB, free: 8.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.3869, allocations: 1.689 MB / 397.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3869, allocations: 8 kB / 397.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02126/0.4082, allocations: 5.362 MB / 403 MB, free: 1.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.4083, allocations: 67.52 kB / 403.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4083, allocations: 11.94 kB / 403.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03394/0.4423, allocations: 6.828 MB / 409.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.4431, allocations: 151.7 kB / 410.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.4492, allocations: 3.013 MB / 413.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.451, allocations: 183.8 kB / 413.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4511, 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.0004773/0.4516, allocations: 222.8 kB / 413.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.4518, allocations: 79.06 kB / 413.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02122/0.4731, allocations: 5.114 MB / 418.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.4731, allocations: 8 kB / 418.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4731, allocations: 0 / 418.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.4732, allocations: 7.922 kB / 418.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.4748, allocations: 1.095 MB / 419.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.4749, allocations: 4 kB / 419.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.4755, allocations: 91.88 kB / 419.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03333/0.5088, allocations: 6.789 MB / 426.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.5091, allocations: 23.97 kB / 426.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.5147, allocations: 3.021 MB / 429.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5147, allocations: 1.312 kB / 429.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/0.5382, allocations: 5.989 MB / 435.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5385, allocations: 152 kB / 435.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5387, allocations: 20 kB / 435.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.5401, allocations: 167.8 kB / 436.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.5404, allocations: 92.88 kB / 436.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5405, allocations: 35.97 kB / 436.2 MB, free: 388 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.541, allocations: 358.8 kB / 436.6 MB, free: 28 kB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.541, allocations: 0 / 436.6 MB, free: 28 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008189/0.5418, 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.0002945/0.5421, allocations: 139.2 kB / 437 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005904/0.548, allocations: 2.051 MB / 439 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.548, allocations: 4 kB / 439 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/0.5515, allocations: 1.081 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.0007592/0.5523, allocations: 138.2 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.556, allocations: 1.787 MB / 442 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.5565, allocations: 0.9507 MB / 443 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.5567, allocations: 61.41 kB / 443 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5569, allocations: 39.44 kB / 443.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5569, allocations: 0 / 443.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Templates: time 0.03459/0.5915, allocations: 22.67 MB / 465.7 MB, free: 2.906 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 gbode -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