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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 94.23 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 179.5 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 11.98 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004146/0.1082, allocations: 3.773 MB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1105, allocations: 1.281 MB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1107, allocations: 8 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1109, allocations: 79.3 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.1114, allocations: 263.2 kB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.1119, allocations: 219.6 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.1126, allocations: 0.6604 MB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.1129, allocations: 199.5 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.1132, allocations: 354.8 kB / 335.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.1137, allocations: 394.4 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.1138, allocations: 44 kB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1139, allocations: 75.89 kB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1141, allocations: 143.5 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1142, allocations: 161.3 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.1148, allocations: 0.7169 MB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1148, allocations: 3.938 kB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1148, allocations: 0 / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1148, allocations: 0 / 336.7 MB, free: 11.71 MB / 286.1 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.002236/0.1171, allocations: 1.126 MB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1171, allocations: 8.031 kB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1173, allocations: 83.06 kB / 337.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.1179, allocations: 444.5 kB / 338.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.1179, allocations: 49.27 kB / 338.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.118, allocations: 60 kB / 338.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.1193, allocations: 0.6584 MB / 339.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1194, allocations: 4 kB / 339.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.1194, allocations: 24 kB / 339.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1195, allocations: 16 kB / 339.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.1211, allocations: 0.7273 MB / 339.8 MB, free: 8.414 MB / 286.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.003646/0.1247, allocations: 2.367 MB / 342.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.1261, allocations: 0.6373 MB / 342.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.1262, allocations: 16.42 kB / 342.9 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/0.1271, allocations: 453.3 kB / 343.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.631e-05/0.1272, allocations: 0 / 343.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.06596/0.1931, allocations: 16.7 MB / 360 MB, free: 3.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1933, allocations: 157.4 kB / 360.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.1939, allocations: 490.8 kB / 360.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.1941, allocations: 45.7 kB / 360.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.1944, allocations: 367.9 kB / 361 MB, free: 2.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.1947, allocations: 311.5 kB / 361.3 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.1948, allocations: 20 kB / 361.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.195, allocations: 382.8 kB / 361.7 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.197, allocations: 0.7905 MB / 362.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.1991, allocations: 0.9968 MB / 363.5 MB, free: 296 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.2011, allocations: 0.8731 MB / 364.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2011, allocations: 0 / 364.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02168/0.2228, allocations: 5.62 MB / 370 MB, free: 9.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/0.2229, allocations: 67.53 kB / 370.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.223, allocations: 7.984 kB / 370.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03324/0.2562, allocations: 7.324 MB / 377.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.257, allocations: 167.8 kB / 377.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.208/0.465, allocations: 3.203 MB / 380.8 MB, free: 51.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4668, allocations: 224.3 kB / 381 MB, free: 51.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.4669, allocations: 44.31 kB / 381 MB, free: 51.71 MB / 318.1 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.0004013/0.4673, allocations: 218.9 kB / 381.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4675, allocations: 73.55 kB / 381.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/0.49, allocations: 5.466 MB / 386.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/0.4901, allocations: 8.969 kB / 386.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.4901, allocations: 4.312 kB / 386.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.4901, allocations: 4.875 kB / 386.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.4919, allocations: 1.088 MB / 387.9 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.492, allocations: 0 / 387.9 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.4925, allocations: 119.8 kB / 388 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0311/0.5237, allocations: 7.285 MB / 395.3 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.5239, allocations: 29.66 kB / 395.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.5285, allocations: 3.085 MB / 398.4 MB, free: 47.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5286, allocations: 0 / 398.4 MB, free: 47.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/0.5497, allocations: 6.425 MB / 404.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.5499, allocations: 140.3 kB / 405 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.5501, allocations: 20 kB / 405 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.5514, allocations: 215.8 kB / 405.2 MB, free: 40.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.5516, allocations: 100.8 kB / 405.3 MB, free: 40.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.5517, allocations: 35.97 kB / 405.3 MB, free: 40.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.552, allocations: 334.5 kB / 405.7 MB, free: 40.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.552, allocations: 0 / 405.7 MB, free: 40.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006697/0.5526, allocations: 254.4 kB / 405.9 MB, free: 39.86 MB / 318.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 (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.0002204/0.5529, allocations: 133.2 kB / 406 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005718/0.5586, allocations: 2.319 MB / 408.4 MB, free: 37.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5586, allocations: 1.125 kB / 408.4 MB, free: 37.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003213/0.5618, allocations: 1.148 MB / 409.5 MB, free: 36.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.5625, allocations: 116.3 kB / 409.6 MB, free: 36.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.5656, allocations: 2.052 MB / 411.7 MB, free: 34.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.5659, allocations: 0.9516 MB / 412.6 MB, free: 33.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.5661, allocations: 58.06 kB / 412.7 MB, free: 33.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.5662, allocations: 35.44 kB / 412.7 MB, free: 32.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5662, allocations: 0 / 412.7 MB, free: 32.98 MB / 318.1 MB Notification: Performance of Templates: time 0.02131/0.5875, allocations: 19.71 MB / 432.4 MB, free: 13.26 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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