Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 95.59 kB / 16.93 MB, free: 6.445 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.00136/0.00136, allocations: 183.2 kB / 17.83 MB, free: 6.012 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.45/1.45, allocations: 205.4 MB / 224 MB, free: 13.19 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.0006298/0.0006299, allocations: 15.44 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.09979, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004122/0.104, allocations: 4.21 MB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.111, allocations: 5.66 MB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.1115, allocations: 35.69 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1126, allocations: 414 kB / 338.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1147, allocations: 0.7047 MB / 339.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.1157, allocations: 307.3 kB / 339.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.1185, allocations: 1.825 MB / 341.5 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.1188, allocations: 151.4 kB / 341.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.1191, allocations: 290.5 kB / 341.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.1195, allocations: 310 kB / 342.2 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.1195, allocations: 16 kB / 342.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.1205, allocations: 431.5 kB / 342.6 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.1206, allocations: 87.33 kB / 342.7 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1208, allocations: 217.1 kB / 342.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.1217, allocations: 0.9077 MB / 343.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1217, allocations: 0 / 343.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1217, allocations: 0 / 343.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1217, allocations: 0 / 343.8 MB, free: 4.527 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001729/0.1235, allocations: 1.293 MB / 345.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1235, allocations: 12.03 kB / 345.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1236, allocations: 126.4 kB / 345.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1247, allocations: 0.8046 MB / 346.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1248, allocations: 20.44 kB / 346.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.1248, allocations: 24 kB / 346.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.1254, allocations: 306.6 kB / 346.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1254, allocations: 4 kB / 346.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1254, allocations: 8 kB / 346.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1254, allocations: 8 kB / 346.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.1258, allocations: 229.6 kB / 346.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.1276, allocations: 1.145 MB / 347.8 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.128, allocations: 254.4 kB / 348 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00099/0.129, allocations: 0.7594 MB / 348.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.129, allocations: 34.56 kB / 348.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/0.129, allocations: 0 / 348.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003009/0.132, allocations: 1.976 MB / 350.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.1321, allocations: 114.8 kB / 350.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1331, allocations: 0.9223 MB / 351.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.1332, allocations: 29.7 kB / 351.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.1334, allocations: 361.5 kB / 352.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1336, allocations: 130.1 kB / 352.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1336, allocations: 4 kB / 352.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1337, allocations: 322 kB / 352.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.1339, allocations: 124.6 kB / 352.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.1342, allocations: 167.8 kB / 353 MB, free: 10.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1345, allocations: 179.3 kB / 353.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1345, allocations: 0 / 353.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009264/0.1355, allocations: 0.5481 MB / 353.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.1355, allocations: 41.69 kB / 353.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.1356, allocations: 15.94 kB / 353.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.1358, allocations: 81.61 kB / 353.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1361, allocations: 48 kB / 353.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.1386, allocations: 3.013 MB / 356.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.1389, allocations: 16.02 kB / 356.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.1389, allocations: 16 kB / 356.9 MB, free: 6.543 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.1394, allocations: 259.9 kB / 357.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.1395, allocations: 126.5 kB / 357.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.1409, allocations: 0.6801 MB / 358 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1409, allocations: 4 kB / 358 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1409, allocations: 0 / 358 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1409, allocations: 4 kB / 358 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.1417, allocations: 0.6121 MB / 358.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.1417, allocations: 19.97 kB / 358.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1419, allocations: 35.94 kB / 358.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.1421, allocations: 77.61 kB / 358.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.1421, allocations: 15.98 kB / 358.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.1446, allocations: 3.008 MB / 361.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1446, allocations: 0 / 361.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1458, allocations: 0.8551 MB / 362.6 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.1462, allocations: 287.5 kB / 362.9 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.1463, allocations: 8 kB / 362.9 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1466, allocations: 12 kB / 362.9 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.1467, allocations: 36.27 kB / 362.9 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.1467, allocations: 15.95 kB / 363 MB, free: 100 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007906/0.1475, allocations: 0.6217 MB / 363.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1475, allocations: 0 / 363.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009065/0.1485, allocations: 219.9 kB / 363.8 MB, free: 15.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005279/0.149, allocations: 302.6 kB / 364.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.1502, allocations: 0.7923 MB / 364.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1502, allocations: 0 / 364.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.1509, allocations: 0.6176 MB / 365.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1513, allocations: 92.8 kB / 365.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.1536, allocations: 1.877 MB / 367.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.1542, allocations: 1.023 MB / 368.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.1545, allocations: 89.64 kB / 368.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.1546, allocations: 51.42 kB / 368.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1546, allocations: 4 kB / 368.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Templates: time 0.01495/0.1696, allocations: 7.892 MB / 376.5 MB, free: 2.34 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches