Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001458/0.001461, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.857/1.857, allocations: 205.4 MB / 222.5 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.00111/0.00111, allocations: 91.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 47.57 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4574, allocations: 81.18 MB / 455.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4577, allocations: 79.95 kB / 455.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05519/0.5129, allocations: 12.09 MB / 467.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.513, allocations: 0 / 467.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.938e-05/0.513, allocations: 16 kB / 467.9 MB, free: 3.371 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.003817/0.5168, allocations: 1.127 MB / 469 MB, free: 2.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5169, allocations: 8.031 kB / 469 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.5171, allocations: 87.05 kB / 469.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5184, allocations: 0.4937 MB / 469.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.5184, allocations: 45.31 kB / 469.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.5186, allocations: 60 kB / 469.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5209, allocations: 0.6623 MB / 470.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.521, allocations: 0 / 470.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.5211, allocations: 24 kB / 470.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5211, allocations: 16 kB / 470.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.5241, allocations: 0.7351 MB / 471.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006129/0.5302, allocations: 2.283 MB / 473.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.5329, allocations: 0.6429 MB / 474.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/0.533, allocations: 8.438 kB / 474.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.5347, allocations: 453.4 kB / 474.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 3.647e-06/0.5347, allocations: 0 / 474.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.1319/0.6666, allocations: 16.53 MB / 491 MB, free: 11.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6667, allocations: 145.5 kB / 491.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.6676, allocations: 438 kB / 491.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.6678, allocations: 49.7 kB / 491.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.6682, allocations: 398.4 kB / 492.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.6686, allocations: 307.5 kB / 492.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.6688, allocations: 16 kB / 492.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6689, allocations: 346.8 kB / 492.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003833/0.6728, allocations: 0.7944 MB / 493.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/0.6768, allocations: 1.001 MB / 494.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.6808, allocations: 0.869 MB / 495.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6808, allocations: 4 kB / 495.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.04552/0.7263, allocations: 5.558 MB / 0.4892 GB, free: 1.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.7265, allocations: 67.39 kB / 0.4893 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.7265, allocations: 4 kB / 0.4893 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3331/1.06, allocations: 7.328 MB / 0.4964 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.061, allocations: 168.6 kB / 0.4966 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009516/1.071, allocations: 3.07 MB / 0.4996 GB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.073, allocations: 224 kB / 0.4998 GB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.074, allocations: 43.59 kB / 0.4998 GB, free: 105.4 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.0005551/1.074, allocations: 225.3 kB / 0.5 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.074, allocations: 78.28 kB / 0.5001 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0418/1.116, allocations: 5.461 MB / 0.5055 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/1.116, allocations: 14.23 kB / 0.5055 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.116, allocations: 0 / 0.5055 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/1.116, allocations: 7.5 kB / 0.5055 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/1.118, allocations: 1.081 MB / 0.5065 GB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.118, allocations: 0 / 0.5065 GB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.119, allocations: 126 kB / 0.5067 GB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06431/1.184, allocations: 7.287 MB / 0.5138 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/1.184, allocations: 31.97 kB / 0.5138 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.195, allocations: 3.227 MB / 0.517 GB, free: 97.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.195, allocations: 0 / 0.517 GB, free: 97.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04568/1.241, allocations: 6.421 MB / 0.5232 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.241, allocations: 144.2 kB / 0.5234 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/1.241, allocations: 16 kB / 0.5234 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.244, allocations: 215 kB / 0.5236 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/1.244, allocations: 104.8 kB / 0.5237 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.245, allocations: 37.48 kB / 0.5237 GB, free: 90.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004969/1.245, allocations: 330.9 kB / 0.524 GB, free: 90.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.463e-06/1.245, allocations: 0 / 0.524 GB, free: 90.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001056/1.246, allocations: 267.2 kB / 0.5243 GB, free: 90.22 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.0003402/1.246, allocations: 141 kB / 0.5244 GB, free: 90.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01019/1.257, allocations: 2.178 MB / 0.5265 GB, free: 87.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.257, allocations: 0 / 0.5265 GB, free: 87.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007836/1.265, allocations: 1.285 MB / 0.5278 GB, free: 86.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/1.266, allocations: 110.6 kB / 0.5279 GB, free: 86.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/1.271, allocations: 2.1 MB / 0.53 GB, free: 84.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/1.271, allocations: 0.9577 MB / 0.5309 GB, free: 83.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.272, allocations: 35.44 kB / 0.5309 GB, free: 83.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/1.272, allocations: 0 / 0.5309 GB, free: 83.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02478/1.297, allocations: 16.05 MB / 0.5466 GB, free: 67.42 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches