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.001155/0.001155, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001007/0.001007, allocations: 198 kB / 18.07 MB, free: 5.41 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.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001209/0.001209, allocations: 55.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1175, allocations: 46.63 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006307/0.1239, allocations: 4.711 MB / 331.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1264, allocations: 1.276 MB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.1268, allocations: 12 kB / 332.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1273, allocations: 83.3 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.1278, allocations: 214.2 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.1286, allocations: 247.7 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1297, allocations: 0.9976 MB / 334.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.1301, allocations: 219.2 kB / 334.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1306, allocations: 370.5 kB / 334.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.131, allocations: 430.1 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.1311, allocations: 52 kB / 335.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1313, allocations: 75.98 kB / 335.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1315, allocations: 159.3 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.1319, allocations: 401.8 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.1328, allocations: 0.9228 MB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1328, allocations: 0 / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1329, allocations: 0 / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1329, allocations: 0 / 336.7 MB, free: 10.7 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.002465/0.1353, allocations: 1.215 MB / 337.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1354, allocations: 8.031 kB / 337.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.1356, allocations: 87.91 kB / 338 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.1362, allocations: 469.4 kB / 338.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.1363, allocations: 41.69 kB / 338.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1364, allocations: 64.38 kB / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1377, allocations: 0.6392 MB / 339.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1378, allocations: 0 / 339.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.1378, allocations: 24 kB / 339.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1379, allocations: 16 kB / 339.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.1397, allocations: 0.6804 MB / 340 MB, free: 7.352 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.003926/0.1436, allocations: 2.331 MB / 342.3 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.1451, allocations: 0.5749 MB / 342.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.1459, allocations: 337.9 kB / 343.2 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.146, allocations: 12.41 kB / 343.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.1471, allocations: 429.4 kB / 343.6 MB, free: 3.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.956e-06/0.1471, allocations: 0 / 343.6 MB, free: 3.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07883/0.226, allocations: 15.39 MB / 359 MB, free: 4.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.2262, allocations: 141.5 kB / 359.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009364/0.2272, allocations: 498.8 kB / 359.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.2275, allocations: 45.64 kB / 359.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.2278, allocations: 367.9 kB / 360 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.2283, allocations: 315.5 kB / 360.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.2288, allocations: 182.5 kB / 360.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.229, allocations: 382.7 kB / 360.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.2318, allocations: 0.7202 MB / 361.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.2352, allocations: 0.9265 MB / 362.5 MB, free: 324 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/0.2395, allocations: 1.658 MB / 364.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2396, allocations: 0 / 364.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0242/0.2638, allocations: 5.343 MB / 369.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.2639, allocations: 63.41 kB / 369.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.264, allocations: 12.12 kB / 369.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03451/0.2985, allocations: 6.839 MB / 376.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.2992, allocations: 135.8 kB / 376.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1869/0.4861, allocations: 3.009 MB / 379.6 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.4879, allocations: 183.1 kB / 379.8 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4881, allocations: 43.78 kB / 379.8 MB, free: 52.96 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 (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 (50): * Single equations (assignments): 46 * 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.0003957/0.4885, allocations: 222.3 kB / 380 MB, free: 52.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4886, allocations: 75.25 kB / 380.1 MB, free: 52.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/0.5123, allocations: 5.104 MB / 385.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.5124, allocations: 12.05 kB / 385.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5124, allocations: 0 / 385.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.5124, allocations: 3.844 kB / 385.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.514, allocations: 1.078 MB / 386.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.514, allocations: 9.031 kB / 386.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.5146, allocations: 92.81 kB / 386.4 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03336/0.5479, allocations: 6.794 MB / 393.2 MB, free: 50.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/0.5483, allocations: 27.75 kB / 393.2 MB, free: 50.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005455/0.5538, allocations: 3.043 MB / 396.3 MB, free: 48.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5538, allocations: 0 / 396.3 MB, free: 48.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02313/0.5769, allocations: 5.982 MB / 402.3 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.5772, allocations: 145.2 kB / 402.4 MB, free: 43.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.5775, allocations: 16 kB / 402.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.5789, allocations: 171.8 kB / 402.6 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.5793, allocations: 96.86 kB / 402.7 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5794, allocations: 31.97 kB / 402.7 MB, free: 42.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.5798, allocations: 342.9 kB / 403 MB, free: 42.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5798, allocations: 0 / 403 MB, free: 42.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008256/0.5806, allocations: 252 kB / 403.3 MB, free: 42.18 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 (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.0002799/0.5809, allocations: 136.7 kB / 403.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005471/0.5864, allocations: 2.035 MB / 405.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5864, allocations: 4.062 kB / 405.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.5894, allocations: 1.066 MB / 406.5 MB, free: 38.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.5903, allocations: 129.3 kB / 406.7 MB, free: 38.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.5937, allocations: 2.088 MB / 408.7 MB, free: 36.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5941, allocations: 0.938 MB / 409.7 MB, free: 35.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.5944, allocations: 55.16 kB / 409.7 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.5945, allocations: 27.44 kB / 409.8 MB, free: 35.68 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5945, allocations: 0 / 409.8 MB, free: 35.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02793/0.6224, allocations: 20.86 MB / 430.6 MB, free: 14.82 MB / 318.1 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