Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008537, allocations: 88.16 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.000266, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2178, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09505/0.3129, allocations: 81.17 MB / 457 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3132, allocations: 71.97 kB / 457 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03471/0.3479, allocations: 12.1 MB / 469.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3479, allocations: 0 / 469.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.348, allocations: 12 kB / 469.2 MB, free: 3.258 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002401/0.3504, allocations: 1.131 MB / 470.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3504, allocations: 8.031 kB / 470.3 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.3506, allocations: 87.06 kB / 470.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.3514, allocations: 0.4976 MB / 470.9 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.3515, allocations: 49.31 kB / 470.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3516, allocations: 60 kB / 471 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.353, allocations: 0.6506 MB / 471.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.353, allocations: 0 / 471.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.3531, allocations: 24 kB / 471.7 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3531, allocations: 16 kB / 471.7 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3548, allocations: 0.7428 MB / 472.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.3592, allocations: 2.294 MB / 474.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3607, allocations: 0.6287 MB / 475.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.3608, allocations: 12.42 kB / 475.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009772/0.3617, allocations: 453.4 kB / 475.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 2.775e-06/0.3618, allocations: 0 / 475.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.07037/0.4321, allocations: 16.53 MB / 492.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.4323, allocations: 149.5 kB / 492.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.433, allocations: 430 kB / 492.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.4332, allocations: 49.7 kB / 492.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.4335, allocations: 363.9 kB / 493.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.4338, allocations: 307.5 kB / 493.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.4339, allocations: 16 kB / 493.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4341, allocations: 382.8 kB / 494 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.4362, allocations: 0.7944 MB / 494.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.4384, allocations: 1.001 MB / 495.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.4405, allocations: 0.8729 MB / 496.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4405, allocations: 0 / 496.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02497/0.4655, allocations: 5.597 MB / 0.4905 GB, free: 1.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/0.4657, allocations: 67.41 kB / 0.4905 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4657, allocations: 4 kB / 0.4906 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2302/0.6959, allocations: 7.321 MB / 0.4977 GB, free: 106.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.6968, allocations: 179.5 kB / 0.4979 GB, free: 106.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.7022, allocations: 3.065 MB / 0.5009 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.704, allocations: 224.2 kB / 0.5011 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.7042, allocations: 43.34 kB / 0.5011 GB, free: 105.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004763/0.7047, allocations: 220.8 kB / 0.5013 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.7048, allocations: 80.69 kB / 0.5014 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/0.7275, allocations: 5.455 MB / 0.5067 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.7276, allocations: 13.7 kB / 0.5067 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7276, allocations: 4 kB / 0.5068 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.7277, allocations: 3.938 kB / 0.5068 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.7295, allocations: 1.081 MB / 0.5078 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.7295, allocations: 4.188 kB / 0.5078 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.7302, allocations: 123.5 kB / 0.5079 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04376/0.774, allocations: 7.293 MB / 0.5151 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.7744, allocations: 27.97 kB / 0.5151 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/0.7823, allocations: 3.236 MB / 0.5182 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7824, allocations: 0.6562 kB / 0.5182 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03089/0.8133, allocations: 6.418 MB / 0.5245 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.8137, allocations: 140.3 kB / 0.5246 GB, free: 91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.8139, allocations: 20 kB / 0.5247 GB, free: 90.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.8156, allocations: 213.2 kB / 0.5249 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.816, allocations: 104.8 kB / 0.525 GB, free: 90.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8161, allocations: 34.09 kB / 0.525 GB, free: 90.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004647/0.8166, allocations: 330.9 kB / 0.5253 GB, free: 90.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8166, allocations: 0 / 0.5253 GB, free: 90.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001016/0.8176, allocations: 268.4 kB / 0.5256 GB, free: 90.06 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/0.8179, allocations: 140.4 kB / 0.5257 GB, free: 89.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.825, allocations: 2.172 MB / 0.5278 GB, free: 87.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8251, allocations: 4.375 kB / 0.5278 GB, free: 87.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005386/0.8305, allocations: 1.289 MB / 0.5291 GB, free: 86.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.8314, allocations: 117 kB / 0.5292 GB, free: 86.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.8357, allocations: 2.058 MB / 0.5312 GB, free: 84.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.8361, allocations: 0.9536 MB / 0.5321 GB, free: 83.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.8365, allocations: 57.27 kB / 0.5322 GB, free: 83.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.8367, allocations: 31.44 kB / 0.5322 GB, free: 83.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.8367, allocations: 0 / 0.5322 GB, free: 83.23 MB / 378.7 MB Notification: Performance of Templates: time 0.03508/0.8718, allocations: 19.75 MB / 0.5515 GB, free: 63.55 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches