Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002555, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.983/2.983, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001357/0.001356, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006088/0.0006089, allocations: 12 kB / 326.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 47.59 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.009199/0.1445, allocations: 4.205 MB / 378.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.1594, allocations: 5.667 MB / 384.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.1605, allocations: 35.69 kB / 384.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.163, allocations: 410 kB / 384.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.1676, allocations: 0.7047 MB / 385.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.17, allocations: 307.3 kB / 385.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007368/0.1774, allocations: 1.821 MB / 387.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.1781, allocations: 143.5 kB / 387.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1792, allocations: 298.5 kB / 388.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.1802, allocations: 306 kB / 388.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.1804, allocations: 16 kB / 388.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.1828, allocations: 431.5 kB / 388.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.1833, allocations: 91.31 kB / 388.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.1839, allocations: 217.1 kB / 389.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4797/0.6636, allocations: 0.9043 MB / 390 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6637, allocations: 0 / 390 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.192e-06/0.6637, allocations: 1.25 kB / 390 MB, free: 10.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.776e-05/0.6638, allocations: 0 / 390 MB, free: 10.6 MB / 282.7 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.004756/0.6686, allocations: 1.296 MB / 391.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.6687, allocations: 9.844 kB / 391.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.6693, allocations: 126.8 kB / 391.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.6727, allocations: 0.8015 MB / 392.3 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.6729, allocations: 15.19 kB / 392.3 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6731, allocations: 32.83 kB / 392.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.6745, allocations: 306.6 kB / 392.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.6746, allocations: 0 / 392.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.6747, allocations: 10 kB / 392.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.6747, allocations: 5.688 kB / 392.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.6758, allocations: 233.2 kB / 392.9 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.6806, allocations: 1.146 MB / 394 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6818, allocations: 247.6 kB / 394.3 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/0.6839, allocations: 0.7578 MB / 395 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/0.6841, allocations: 35.44 kB / 395 MB, free: 8.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.058e-05/0.6841, allocations: 0 / 395 MB, free: 8.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.008326/0.6925, allocations: 1.969 MB / 397 MB, free: 6.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.6926, allocations: 119.3 kB / 397.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.6948, allocations: 0.9188 MB / 398.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.695, allocations: 33.23 kB / 398.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.6953, allocations: 352.3 kB / 398.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6955, allocations: 132.2 kB / 398.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.6955, allocations: 9.031 kB / 398.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.6956, allocations: 327.1 kB / 398.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.6961, allocations: 126.4 kB / 399 MB, free: 6.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.6966, allocations: 160.3 kB / 399.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.6971, allocations: 177.8 kB / 399.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6971, allocations: 0 / 399.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001736/0.6989, allocations: 498.4 kB / 399.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.699, allocations: 35.3 kB / 399.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/0.699, allocations: 18.33 kB / 399.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.6995, allocations: 72.27 kB / 399.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.7, allocations: 46.5 kB / 400 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.7035, allocations: 3.003 MB / 403 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/0.7045, allocations: 15.64 kB / 403 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7046, allocations: 19.84 kB / 403 MB, free: 3.191 MB / 282.7 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.0007596/0.7054, allocations: 272.2 kB / 403.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.7058, allocations: 126.7 kB / 403.4 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.7088, allocations: 0.6798 MB / 404.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.7088, allocations: 5.25 kB / 404.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7089, allocations: 4.969 kB / 404.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7089, allocations: 2.422 kB / 404.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.7106, allocations: 0.6113 MB / 404.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-05/0.7107, allocations: 19.02 kB / 404.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.7112, allocations: 37.67 kB / 404.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.7116, allocations: 71.55 kB / 404.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.7118, allocations: 17.11 kB / 404.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.7151, allocations: 3.004 MB / 407.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7152, allocations: 7.25 kB / 407.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.7184, allocations: 0.8622 MB / 408.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.7198, allocations: 277.6 kB / 409 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.7201, allocations: 6.438 kB / 409 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.7207, allocations: 16.98 kB / 409 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.7209, allocations: 29.69 kB / 409.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.721, allocations: 20.14 kB / 409.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.7224, allocations: 0.6211 MB / 409.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.7224, allocations: 1.219 kB / 409.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001537/0.7239, allocations: 229.7 kB / 409.9 MB, free: 15.36 MB / 298.7 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.00102/0.725, allocations: 294 kB / 410.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.727, allocations: 0.7945 MB / 411 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.727, allocations: 0 / 411 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.7284, allocations: 0.6205 MB / 411.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7297, allocations: 97.62 kB / 411.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.7364, allocations: 1.909 MB / 413.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.7378, allocations: 1.023 MB / 414.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.7382, allocations: 50.73 kB / 414.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7383, allocations: 0 / 414.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Templates: time 0.3301/1.068, allocations: 16.52 MB / 431.2 MB, free: 0.8594 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches