Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.144e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008575/0.008607, allocations: 5.558 MB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.01263, allocations: 1.678 MB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.01377, allocations: 55.69 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.01458, allocations: 313.4 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.01621, allocations: 452.7 kB / 280.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.01701, allocations: 355.4 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.01974, allocations: 2.21 MB / 282.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.02186, allocations: 1.356 MB / 284.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.02407, allocations: 1.564 MB / 285.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.02583, allocations: 1.048 MB / 286.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.02626, allocations: 292 kB / 287.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007393/0.027, allocations: 407.7 kB / 287.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.02774, allocations: 0.7245 MB / 288.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.02888, allocations: 0.8498 MB / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1239/0.1527, allocations: 3.679 MB / 292.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1527, allocations: 1.094 kB / 292.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1527, allocations: 0 / 292.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.1529, allocations: 0.7188 kB / 292.8 MB, free: 19.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005907/0.1588, allocations: 2.433 MB / 295.3 MB, free: 18.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1588, allocations: 8.844 kB / 295.3 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.16, allocations: 439.4 kB / 295.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.1622, allocations: 1.301 MB / 297 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1624, allocations: 155.6 kB / 297.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.1627, allocations: 207.7 kB / 297.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.1671, allocations: 2.635 MB / 300 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.1671, allocations: 2.031 kB / 300 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.1673, allocations: 85.28 kB / 300.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.1674, allocations: 55.94 kB / 300.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.1708, allocations: 2.091 MB / 302.2 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00898/0.1798, allocations: 6.455 MB / 308.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.1814, allocations: 1.297 MB / 310 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.1825, allocations: 0.887 MB / 310.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1826, allocations: 17.06 kB / 310.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1826, allocations: 49.53 kB / 310.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.1826, allocations: 0 / 310.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.006648/0.1893, allocations: 3.924 MB / 314.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1893, allocations: 60.41 kB / 314.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1903, allocations: 0.851 MB / 315.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.1904, allocations: 41.7 kB / 315.8 MB, free: 6.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.1907, allocations: 0.8578 MB / 316.6 MB, free: 5.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.1909, allocations: 333.1 kB / 317 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.1912, allocations: 177.2 kB / 317.1 MB, free: 5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.1912, allocations: 349.9 kB / 317.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.1918, allocations: 0.4899 MB / 318 MB, free: 4.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.1926, allocations: 0.6728 MB / 318.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.1939, allocations: 1.192 MB / 319.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1939, allocations: 8 kB / 319.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002275/0.1961, allocations: 1.653 MB / 321.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1962, allocations: 8 kB / 321.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.1962, allocations: 4 kB / 321.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.1972, allocations: 479.2 kB / 322 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.1979, allocations: 170.9 kB / 322.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2093, allocations: 8.762 MB / 330.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.2102, allocations: 46.59 kB / 331 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.2103, allocations: 39.98 kB / 331 MB, free: 6.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001392/0.2117, allocations: 0.6327 MB / 331.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.2121, allocations: 135.3 kB / 331.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.2124, allocations: 137.8 kB / 331.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.2124, allocations: 16 kB / 331.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.2125, allocations: 4.562 kB / 331.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2125, allocations: 3.984 kB / 331.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/0.2188, allocations: 3.045 MB / 335 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.2188, allocations: 0 / 335 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.2194, allocations: 130.9 kB / 335.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.2205, allocations: 457.5 kB / 335.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.2206, allocations: 23.05 kB / 335.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.2313, allocations: 8.666 MB / 344.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.2313, allocations: 18.77 kB / 344.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.2356, allocations: 2.318 MB / 346.6 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.2363, allocations: 211.3 kB / 346.8 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.2364, allocations: 20 kB / 346.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.2369, allocations: 43.95 kB / 346.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.2372, allocations: 87.64 kB / 346.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/0.2373, allocations: 31.98 kB / 346.9 MB, free: 6.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.2383, allocations: 0.5926 MB / 347.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2383, allocations: 0 / 347.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001818/0.2401, allocations: 379.9 kB / 347.9 MB, free: 5.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.2405, allocations: 153 kB / 348.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003946/0.2444, allocations: 1.779 MB / 349.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2444, allocations: 0 / 349.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.2468, allocations: 1.21 MB / 351.1 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.2486, allocations: 294.3 kB / 351.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.2567, allocations: 3.614 MB / 355 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.2586, allocations: 1.146 MB / 356.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008366/0.2594, allocations: 188.7 kB / 356.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.2596, allocations: 68.48 kB / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2596, allocations: 0 / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of Templates: time 0.03976/0.2994, allocations: 19.96 MB / 376.3 MB, free: 9.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361801637103781]