Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.0009694/0.0009694, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.0009483/0.0009483, allocations: 170.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9889/0.9889, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.289e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005501/0.005524, allocations: 5.885 MB / 257.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.008881, allocations: 1.675 MB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.009517, allocations: 47.69 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.01006, allocations: 313.4 kB / 259.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.01134, allocations: 468.5 kB / 259.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.01214, allocations: 351.5 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.01438, allocations: 2.226 MB / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.01582, allocations: 1.324 MB / 263.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.01786, allocations: 1.579 MB / 265.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.01937, allocations: 1.161 MB / 266.5 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.01985, allocations: 292 kB / 266.8 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.02049, allocations: 403.7 kB / 267.1 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.02094, allocations: 0.7285 MB / 267.9 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009916/0.02193, allocations: 0.8693 MB / 268.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.02399, allocations: 2.036 MB / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.024, allocations: 4 kB / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.024, allocations: 0 / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.267e-05/0.02407, allocations: 0 / 270.8 MB, free: 3.785 MB / 250.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.002742/0.02681, allocations: 2.544 MB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.02685, allocations: 11.98 kB / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.02729, allocations: 411.4 kB / 273.7 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.02826, allocations: 0.9403 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.02834, allocations: 156.5 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.02853, allocations: 212.3 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.03054, allocations: 1.452 MB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.03057, allocations: 7.938 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.03068, allocations: 80 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.03073, allocations: 52 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.03148, allocations: 0.5275 MB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.03752, allocations: 5.648 MB / 282.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.03853, allocations: 0.7451 MB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.03904, allocations: 454.7 kB / 284 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.03909, allocations: 17 kB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.03912, allocations: 42.39 kB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.986e-06/0.03912, allocations: 0 / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003044/0.04216, allocations: 1.792 MB / 285.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.0422, allocations: 64.41 kB / 285.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.04278, allocations: 0.7411 MB / 286.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.04282, allocations: 45.64 kB / 286.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.04324, allocations: 0.9242 MB / 287.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.04343, allocations: 353 kB / 288 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.04363, allocations: 192.2 kB / 288.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.04378, allocations: 0.5354 MB / 288.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.04393, allocations: 113.9 kB / 288.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.04421, allocations: 379.8 kB / 289.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.0447, allocations: 0.5553 MB / 289.7 MB, free: 152 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.0447, allocations: 4 kB / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00128/0.04598, allocations: 0.7879 MB / 290.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.046, allocations: 8 kB / 290.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.04601, allocations: 4 kB / 290.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.04647, allocations: 239.1 kB / 290.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.04682, allocations: 163.7 kB / 290.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.05159, allocations: 8.979 MB / 299.9 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.05196, allocations: 36.05 kB / 299.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.05201, allocations: 24 kB / 300 MB, free: 5.426 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.0004156/0.05242, allocations: 220.3 kB / 300.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.05258, allocations: 123.4 kB / 300.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.05269, allocations: 125.8 kB / 300.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.05271, allocations: 15.98 kB / 300.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.05272, allocations: 4 kB / 300.4 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.05273, allocations: 11.97 kB / 300.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.05513, allocations: 1.865 MB / 302.3 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.05514, allocations: 4 kB / 302.3 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.05542, allocations: 115.8 kB / 302.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.05583, allocations: 234.5 kB / 302.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.05587, allocations: 23.98 kB / 302.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/0.06044, allocations: 8.905 MB / 311.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.06044, allocations: 7.922 kB / 311.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.06193, allocations: 1.026 MB / 312.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.06219, allocations: 167.2 kB / 312.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.06225, allocations: 19.98 kB / 312.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.06244, allocations: 24 kB / 312.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.06258, allocations: 80.84 kB / 312.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.06261, allocations: 16 kB / 312.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003301/0.06294, allocations: 446.8 kB / 313.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06294, allocations: 0 / 313.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00111/0.06405, allocations: 379.9 kB / 313.7 MB, free: 7.062 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.0002678/0.06432, allocations: 143 kB / 313.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.06561, allocations: 1.345 MB / 315.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.06561, allocations: 0 / 315.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.0664, allocations: 1.115 MB / 316.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.06721, allocations: 295.1 kB / 316.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.07156, allocations: 3.116 MB / 319.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.07199, allocations: 0.5297 MB / 320.3 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.07234, allocations: 108.6 kB / 320.4 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.07281, allocations: 338 kB / 320.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.07281, allocations: 4 kB / 320.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.02758/0.1004, allocations: 21.36 MB / 342.1 MB, free: 10.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5561663950793445]