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.00218/0.00218, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001879/0.001879, allocations: 160.2 kB / 25.02 MB, free: 9.438 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 1.457/1.457, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2..i|supplyL.inductor.3..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.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.287e-05/4.501e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008937/0.008982, allocations: 5.498 MB / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.01304, allocations: 1.66 MB / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.01361, allocations: 51.62 kB / 257.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.01429, allocations: 305.5 kB / 257.9 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.01573, allocations: 448.7 kB / 258.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.01654, allocations: 367.3 kB / 258.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.01981, allocations: 2.218 MB / 260.9 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.02181, allocations: 1.32 MB / 262.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.02433, allocations: 1.552 MB / 263.7 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.02631, allocations: 1.033 MB / 264.8 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.02675, allocations: 288 kB / 265.1 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007978/0.02755, allocations: 423.6 kB / 265.5 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.02833, allocations: 0.7245 MB / 266.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.02952, allocations: 0.8498 MB / 267 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.03458, allocations: 3.662 MB / 270.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.03459, allocations: 3.984 kB / 270.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03459, allocations: 0 / 270.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.819e-05/0.03468, allocations: 0 / 270.7 MB, free: 15.44 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.00529/0.03997, allocations: 2.425 MB / 273.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.04001, allocations: 11.98 kB / 273.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.04084, allocations: 411.3 kB / 273.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.04316, allocations: 1.145 MB / 274.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.04332, allocations: 156.5 kB / 274.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.04366, allocations: 196.4 kB / 275 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.04933, allocations: 2.644 MB / 277.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.04938, allocations: 3.938 kB / 277.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.04959, allocations: 84 kB / 277.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-05/0.04968, allocations: 52 kB / 277.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/0.05398, allocations: 2.081 MB / 279.9 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.06684, allocations: 6.487 MB / 286.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.06925, allocations: 1.303 MB / 287.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.07098, allocations: 0.8935 MB / 288.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.369e-05/0.07103, allocations: 17 kB / 288.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.07108, allocations: 39.56 kB / 288.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.07109, allocations: 0 / 288.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.009137/0.08022, allocations: 3.934 MB / 292.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.08028, allocations: 64.41 kB / 292.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.08164, allocations: 0.8288 MB / 293.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.805e-05/0.08174, allocations: 41.7 kB / 293.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008197/0.08256, allocations: 0.8591 MB / 294.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.08292, allocations: 337.1 kB / 294.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.08325, allocations: 174.6 kB / 294.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.08347, allocations: 345.9 kB / 295.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009039/0.08437, allocations: 497.7 kB / 295.7 MB, free: 6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.08543, allocations: 0.6733 MB / 296.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.08762, allocations: 1.205 MB / 297.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.08762, allocations: 4 kB / 297.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003242/0.09086, allocations: 1.652 MB / 299.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.09089, allocations: 10.66 kB / 299.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.09091, allocations: 4.25 kB / 299.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.0922, allocations: 474.9 kB / 299.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.09295, allocations: 179.6 kB / 299.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/0.2353, allocations: 8.752 MB / 308.6 MB, free: 50.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.236, allocations: 48.2 kB / 308.7 MB, free: 50.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.2361, allocations: 35.92 kB / 308.7 MB, free: 50.79 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.001156/0.2373, allocations: 0.6335 MB / 309.3 MB, free: 50.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.2376, allocations: 134.2 kB / 309.5 MB, free: 50.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.2378, allocations: 134.2 kB / 309.6 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.2379, allocations: 11.22 kB / 309.6 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.2379, allocations: 1.156 kB / 309.6 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.2379, allocations: 14.48 kB / 309.6 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/0.2434, allocations: 3.057 MB / 312.7 MB, free: 49.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2434, allocations: 4.875 kB / 312.7 MB, free: 49.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.244, allocations: 126.1 kB / 312.8 MB, free: 49.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/0.2449, allocations: 449.3 kB / 313.3 MB, free: 48.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.245, allocations: 26.81 kB / 313.3 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006631/0.2516, allocations: 8.665 MB / 321.9 MB, free: 42.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2516, allocations: 0 / 321.9 MB, free: 42.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.2545, allocations: 2.331 MB / 324.3 MB, free: 41.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.2549, allocations: 217.8 kB / 324.5 MB, free: 41.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.255, allocations: 18.73 kB / 324.5 MB, free: 41.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.2554, allocations: 46.95 kB / 324.6 MB, free: 41.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.2556, allocations: 87.77 kB / 324.6 MB, free: 41.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.2557, allocations: 30.23 kB / 324.7 MB, free: 41.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006755/0.2564, allocations: 0.5804 MB / 325.3 MB, free: 40.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2564, allocations: 3.938 kB / 325.3 MB, free: 40.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001409/0.2578, allocations: 379.6 kB / 325.6 MB, free: 40.44 MB / 282.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.0002466/0.258, allocations: 143.7 kB / 325.8 MB, free: 40.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.2601, allocations: 1.797 MB / 327.6 MB, free: 38.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2601, allocations: 0 / 327.6 MB, free: 38.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2614, allocations: 1.2 MB / 328.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.2625, allocations: 296.9 kB / 329.1 MB, free: 36.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.2671, allocations: 3.608 MB / 332.7 MB, free: 33.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/0.268, allocations: 1.138 MB / 333.8 MB, free: 32.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.2684, allocations: 192.5 kB / 334 MB, free: 31.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.2686, allocations: 60.5 kB / 334 MB, free: 31.87 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2686, allocations: 4 kB / 334.1 MB, free: 31.86 MB / 282.7 MB Notification: Performance of Templates: time 0.02801/0.2966, allocations: 20 MB / 354 MB, free: 11.89 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.462559929001145]