Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 95.02 kB / 16.94 MB, free: 5.98 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.0008805/0.0008806, allocations: 183.9 kB / 17.82 MB, free: 5.648 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.401/1.401, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004694/0.0004696, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005114/0.1242, allocations: 3.375 MB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.127, allocations: 0.9635 MB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008529/0.1279, allocations: 8 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.1283, allocations: 67.44 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1295, allocations: 227.2 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.1302, allocations: 119.8 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1314, allocations: 488 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005208/0.132, allocations: 170.5 kB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007015/0.1327, allocations: 239 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/0.1334, allocations: 282.8 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.1335, allocations: 36 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.1336, allocations: 40 kB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1338, allocations: 103.6 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.134, allocations: 137.4 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.1345, allocations: 0.5024 MB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1346, allocations: 3.938 kB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1346, allocations: 0 / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1346, allocations: 0 / 335 MB, free: 13.35 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001616/0.1362, allocations: 0.8223 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1363, allocations: 8.031 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1364, allocations: 67.16 kB / 335.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.1369, allocations: 372.9 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.1369, allocations: 41.27 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.137, allocations: 48 kB / 336.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.1379, allocations: 0.5453 MB / 336.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1379, allocations: 0 / 336.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.138, allocations: 20 kB / 337 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.138, allocations: 15.98 kB / 337 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.1388, allocations: 459.7 kB / 337.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.1417, allocations: 2.058 MB / 339.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.1427, allocations: 0.6493 MB / 340.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.1428, allocations: 8.562 kB / 340.1 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.1428, allocations: 39.12 kB / 340.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/0.1428, allocations: 0 / 340.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004586/0.1474, allocations: 2.057 MB / 342.2 MB, free: 5.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1475, allocations: 63.89 kB / 342.3 MB, free: 5.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.1479, allocations: 357.7 kB / 342.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1479, allocations: 33.7 kB / 342.7 MB, free: 5.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1481, allocations: 237.1 kB / 342.9 MB, free: 5.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1483, allocations: 197.1 kB / 343.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.1483, allocations: 12 kB / 343.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1485, allocations: 358.7 kB / 343.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1488, allocations: 177 kB / 343.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1491, allocations: 207.8 kB / 343.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1495, allocations: 186.2 kB / 344 MB, free: 3.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1495, allocations: 0 / 344 MB, free: 3.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001114/0.1506, allocations: 0.6773 MB / 344.7 MB, free: 3.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1507, allocations: 4 kB / 344.7 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1507, allocations: 0 / 344.7 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.1514, allocations: 259.1 kB / 345 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.1517, allocations: 59.95 kB / 345 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.1581, allocations: 6.84 MB / 351.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1584, allocations: 24.02 kB / 351.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.1584, allocations: 12 kB / 351.9 MB, free: 11.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.1586, allocations: 177.8 kB / 352.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.1587, allocations: 51.44 kB / 352.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1589, allocations: 64.95 kB / 352.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1589, allocations: 7.953 kB / 352.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1589, allocations: 4 kB / 352.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1589, allocations: 3.984 kB / 352.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.1609, allocations: 1.353 MB / 353.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1609, allocations: 0 / 353.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1612, allocations: 64.34 kB / 353.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006229/0.1618, allocations: 263.5 kB / 353.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.1618, allocations: 15.98 kB / 353.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.1675, allocations: 6.836 MB / 360.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1676, allocations: 0 / 360.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.1692, allocations: 1.037 MB / 361.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.1694, allocations: 160.4 kB / 361.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.1694, allocations: 23.89 kB / 361.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1697, allocations: 19.98 kB / 362 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.1698, allocations: 52.48 kB / 362 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1699, allocations: 12 kB / 362 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.1701, allocations: 255.2 kB / 362.3 MB, free: 472 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1701, allocations: 0 / 362.3 MB, free: 472 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008452/0.171, allocations: 172 kB / 362.4 MB, free: 300 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/0.1711, allocations: 119.2 kB / 362.5 MB, free: 172 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.1726, allocations: 1.033 MB / 363.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1726, allocations: 4 kB / 363.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.1736, allocations: 0.8415 MB / 364.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1741, allocations: 77.78 kB / 364.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1763, allocations: 1.518 MB / 366 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.1768, allocations: 0.8986 MB / 366.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.177, allocations: 48.55 kB / 367 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1771, allocations: 31.42 kB / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1771, allocations: 0 / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Templates: time 0.01318/0.1902, allocations: 7.838 MB / 374.8 MB, free: 3.734 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches