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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008347/0.0008349, allocations: 99.58 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001961/0.0001961, allocations: 8 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1808, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08977/0.2706, allocations: 83.83 MB / 493.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2709, allocations: 75.97 kB / 493.3 MB, free: 6.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03444/0.3053, allocations: 12.75 MB / 0.4942 GB, free: 9.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3054, allocations: 4 kB / 0.4942 GB, free: 9.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.319e-05/0.3054, allocations: 20 kB / 0.4942 GB, free: 9.879 MB / 378.7 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.002269/0.3077, allocations: 1.155 MB / 0.4954 GB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3077, allocations: 8.031 kB / 0.4954 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3079, allocations: 102.8 kB / 0.4955 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.3087, allocations: 0.5037 MB / 0.496 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.3087, allocations: 49.31 kB / 0.496 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3088, allocations: 67.91 kB / 0.4961 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3101, allocations: 0.674 MB / 0.4967 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3101, allocations: 0 / 0.4967 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.3102, allocations: 24 kB / 0.4968 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3102, allocations: 16 kB / 0.4968 GB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.3119, allocations: 0.7585 MB / 0.4975 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.3156, allocations: 2.349 MB / 0.4998 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3169, allocations: 0.6257 MB / 0.5004 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.317, allocations: 8.438 kB / 0.5004 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008895/0.3179, allocations: 457.4 kB / 0.5009 GB, free: 2.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 1.814e-06/0.3179, allocations: 0 / 0.5009 GB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.2129/0.5308, allocations: 16.52 MB / 0.517 GB, free: 90.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.5309, allocations: 146.1 kB / 0.5171 GB, free: 90.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.5314, allocations: 468.6 kB / 0.5176 GB, free: 90.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/0.5315, allocations: 47.86 kB / 0.5176 GB, free: 90.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.5317, allocations: 382.2 kB / 0.518 GB, free: 89.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.5319, allocations: 324 kB / 0.5183 GB, free: 89.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.532, allocations: 20.69 kB / 0.5183 GB, free: 89.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.5321, allocations: 382.3 kB / 0.5187 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.5339, allocations: 0.7944 MB / 0.5195 GB, free: 89.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.5357, allocations: 1.025 MB / 0.5205 GB, free: 88.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.5376, allocations: 0.8786 MB / 0.5213 GB, free: 87.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5376, allocations: 4 kB / 0.5213 GB, free: 87.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02318/0.5608, allocations: 5.631 MB / 0.5268 GB, free: 81.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.5609, allocations: 67.39 kB / 0.5269 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5609, allocations: 8 kB / 0.5269 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03359/0.5945, allocations: 7.324 MB / 0.534 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.5953, allocations: 183.7 kB / 0.5342 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.6002, allocations: 3.064 MB / 0.5372 GB, free: 71.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6018, allocations: 227.8 kB / 0.5374 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.6019, allocations: 47.97 kB / 0.5375 GB, free: 70.9 MB / 378.7 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 ($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 (54): * Single equations (assignments): 50 * 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.0003845/0.6023, allocations: 230.1 kB / 0.5377 GB, free: 70.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6025, allocations: 78.97 kB / 0.5378 GB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/0.6239, allocations: 5.468 MB / 0.5431 GB, free: 65.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.6239, allocations: 11.98 kB / 0.5431 GB, free: 65.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6239, allocations: 0 / 0.5431 GB, free: 65.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6239, allocations: 5.047 kB / 0.5431 GB, free: 65.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.625, allocations: 1.111 MB / 0.5442 GB, free: 63.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.625, allocations: 0 / 0.5442 GB, free: 63.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.6255, allocations: 123.8 kB / 0.5443 GB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03225/0.6577, allocations: 7.295 MB / 0.5515 GB, free: 56.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.6579, allocations: 23.98 kB / 0.5515 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.6636, allocations: 3.227 MB / 0.5546 GB, free: 53.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6636, allocations: 2.297 kB / 0.5546 GB, free: 53.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02372/0.6873, allocations: 6.424 MB / 0.5609 GB, free: 46.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.6875, allocations: 148.1 kB / 0.561 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.6877, allocations: 16 kB / 0.5611 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6891, allocations: 223.7 kB / 0.5613 GB, free: 46.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.6893, allocations: 96.84 kB / 0.5614 GB, free: 46.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.6894, allocations: 31.97 kB / 0.5614 GB, free: 46.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003691/0.6897, allocations: 358.8 kB / 0.5617 GB, free: 45.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6898, allocations: 0 / 0.5617 GB, free: 45.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007035/0.6905, allocations: 266.7 kB / 0.562 GB, free: 45.67 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.000241/0.6907, allocations: 138.5 kB / 0.5621 GB, free: 45.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005173/0.6959, allocations: 2.192 MB / 0.5643 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6959, allocations: 0 / 0.5643 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003925/0.6998, allocations: 1.285 MB / 0.5655 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.7004, allocations: 116.5 kB / 0.5656 GB, free: 41.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.7035, allocations: 2.105 MB / 0.5677 GB, free: 39.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7038, allocations: 0.9665 MB / 0.5686 GB, free: 38.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.704, allocations: 57.64 kB / 0.5687 GB, free: 38.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7042, allocations: 39.38 kB / 0.5687 GB, free: 38.71 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7042, allocations: 0 / 0.5687 GB, free: 38.71 MB / 378.7 MB Notification: Performance of Templates: time 0.02265/0.7268, allocations: 19.79 MB / 0.5881 GB, free: 19.07 MB / 378.7 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.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches