Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001402/0.001402, 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.001574/0.001574, allocations: 167.4 kB / 25.6 MB, free: 8.098 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.9923/0.9923, 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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 251.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.106e-05, allocations: 2.312 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01199/0.01202, allocations: 10.19 MB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008067/0.02009, allocations: 3.265 MB / 265 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.02268, allocations: 95.25 kB / 265.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.02532, allocations: 0.7254 MB / 265.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.03025, allocations: 1.222 MB / 267 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.03169, allocations: 0.5032 MB / 267.5 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007176/0.03886, allocations: 5.46 MB / 273 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003982/0.04284, allocations: 2.249 MB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008489/0.05133, allocations: 3.628 MB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006096/0.05743, allocations: 2.756 MB / 281.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.05881, allocations: 0.6211 MB / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.06028, allocations: 0.6952 MB / 282.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009588/0.06124, allocations: 1.722 MB / 284.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.06285, allocations: 1.949 MB / 286.6 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.06623, allocations: 4.588 MB / 291.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.06623, allocations: 0 / 291.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06623, allocations: 4 kB / 291.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.491e-05/0.06632, allocations: 0 / 291.2 MB, free: 15.35 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.005215/0.07153, allocations: 5.238 MB / 296.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.07157, allocations: 12.03 kB / 296.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.07256, allocations: 0.8922 MB / 297.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.07466, allocations: 2.123 MB / 299.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.0748, allocations: 292.2 kB / 299.7 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/0.07515, allocations: 399.9 kB / 300.1 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.07855, allocations: 3.178 MB / 303.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.07859, allocations: 4 kB / 303.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.0788, allocations: 164 kB / 303.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.07893, allocations: 204 kB / 303.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.08047, allocations: 1.108 MB / 304.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.09169, allocations: 11.73 MB / 316.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.09357, allocations: 2.144 MB / 318.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.0947, allocations: 1.165 MB / 319.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.09487, allocations: 69.92 kB / 319.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.09491, allocations: 67.38 kB / 319.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.487e-06/0.09491, allocations: 0 / 319.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.006709/0.1016, allocations: 4.483 MB / 324.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1017, allocations: 77.42 kB / 324.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.103, allocations: 1.751 MB / 326.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.1031, allocations: 77.7 kB / 326.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008284/0.104, allocations: 1.807 MB / 328.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/0.1044, allocations: 0.9181 MB / 329 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.1049, allocations: 458.7 kB / 329.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.105, allocations: 476.8 kB / 330 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.1054, allocations: 280.5 kB / 330.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/0.1062, allocations: 0.7129 MB / 330.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1073, allocations: 1.15 MB / 332.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1073, allocations: 3.938 kB / 332.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002324/0.1096, allocations: 1.999 MB / 334.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1097, allocations: 11.98 kB / 334.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1097, allocations: 4 kB / 334.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.1125, allocations: 1.066 MB / 335.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1135, allocations: 375.4 kB / 335.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1397/0.2533, allocations: 23.65 MB / 359.2 MB, free: 86.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2545, allocations: 68.94 kB / 359.3 MB, free: 86.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.2547, allocations: 56.5 kB / 359.3 MB, free: 86.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.2557, allocations: 295.2 kB / 359.6 MB, free: 86.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/0.2565, allocations: 364.8 kB / 360 MB, free: 86.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.2594, allocations: 2.016 MB / 362 MB, free: 85.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2594, allocations: 28.38 kB / 362 MB, free: 85.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.2594, allocations: 10.38 kB / 362 MB, free: 85.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2595, allocations: 10.83 kB / 362 MB, free: 85.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.2652, allocations: 4.479 MB / 366.5 MB, free: 85.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2652, allocations: 3.156 kB / 366.5 MB, free: 85.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.2658, allocations: 270.5 kB / 366.8 MB, free: 85.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.2679, allocations: 1.067 MB / 367.8 MB, free: 85.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.268, allocations: 59.7 kB / 367.9 MB, free: 85.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009056/0.2771, allocations: 23.53 MB / 391.4 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2771, allocations: 3.703 kB / 391.4 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.28, allocations: 2.495 MB / 393.9 MB, free: 61.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/0.2806, allocations: 478.1 kB / 394.4 MB, free: 61.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.2808, allocations: 59.98 kB / 394.5 MB, free: 61.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.2813, allocations: 91.95 kB / 394.5 MB, free: 61.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.2816, allocations: 205.5 kB / 394.7 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.2817, allocations: 51.88 kB / 394.8 MB, free: 61.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007143/0.2824, allocations: 0.9748 MB / 395.8 MB, free: 60.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2824, allocations: 0 / 395.8 MB, free: 60.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002204/0.2846, allocations: 0.949 MB / 396.7 MB, free: 59.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004195/0.285, allocations: 238.8 kB / 397 MB, free: 59.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.2875, allocations: 3.493 MB / 400.4 MB, free: 55.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2875, allocations: 0 / 400.4 MB, free: 55.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.2892, allocations: 3.026 MB / 403.5 MB, free: 52.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.2911, allocations: 0.743 MB / 404.2 MB, free: 51.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.2995, allocations: 7.083 MB / 411.3 MB, free: 44.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.3006, allocations: 1.261 MB / 412.6 MB, free: 43.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009052/0.3015, allocations: 278 kB / 412.8 MB, free: 42.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.3025, allocations: 0.7711 MB / 413.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.3025, allocations: 3.938 kB / 413.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of Templates: time 0.05888/0.3614, allocations: 55.91 MB / 469.5 MB, free: 2.207 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.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: 4.663672420196235]