Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 206 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 250 MB, free: 9.016 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 367.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 53.31 MB / 420.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01325/0.2903, allocations: 10.75 MB / 431.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.2981, allocations: 3.263 MB / 434.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.3006, allocations: 87.62 kB / 434.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.303, allocations: 0.7332 MB / 435.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.3073, allocations: 1.169 MB / 436.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3086, allocations: 479.4 kB / 437.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.3155, allocations: 5.139 MB / 442.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/0.3202, allocations: 3.448 MB / 445.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004964/0.3251, allocations: 2.396 MB / 448.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/0.3301, allocations: 2.829 MB / 451 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.3314, allocations: 0.625 MB / 451.6 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3334, allocations: 0.7108 MB / 452.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.3351, allocations: 1.644 MB / 454 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004135/0.3393, allocations: 2.77 MB / 456.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009592/0.3488, allocations: 8.444 MB / 465.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3488, allocations: 4 kB / 465.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3489, allocations: 0 / 465.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002806/0.3491, allocations: 0 / 465.2 MB, free: 11.64 MB / 382.1 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.01284/0.362, allocations: 5.242 MB / 470.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.362, allocations: 8.031 kB / 470.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.3639, allocations: 0.5954 MB / 471 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.3701, allocations: 2.886 MB / 473.9 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.3703, allocations: 291.8 kB / 474.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009525/0.3713, allocations: 384 kB / 474.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.3822, allocations: 5.805 MB / 480.4 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.162e-05/0.3823, allocations: 3.938 kB / 480.4 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.3826, allocations: 160 kB / 480.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.3829, allocations: 216 kB / 480.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0099/0.3928, allocations: 5.02 MB / 485.8 MB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03115/0.4239, allocations: 16.23 MB / 0.4902 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008166/0.4321, allocations: 6.607 MB / 0.4967 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/0.436, allocations: 2.45 MB / 0.4991 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.4364, allocations: 139 kB / 0.4992 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4365, allocations: 68.5 kB / 0.4993 GB, free: 12.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.859e-06/0.4365, allocations: 0 / 0.4993 GB, free: 12.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.0223/0.4588, allocations: 10.72 MB / 0.5097 GB, free: 1.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.4588, allocations: 81.36 kB / 0.5098 GB, free: 1.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/0.4643, allocations: 2.636 MB / 0.5124 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003652/0.4647, allocations: 69.7 kB / 0.5125 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.4662, allocations: 1.687 MB / 0.5141 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.4673, allocations: 0.8792 MB / 0.515 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009675/0.4682, allocations: 420.7 kB / 0.5154 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4684, allocations: 305.1 kB / 0.5157 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.4708, allocations: 1.336 MB / 0.517 GB, free: 9.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.4736, allocations: 1.654 MB / 0.5186 GB, free: 8.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005226/0.4788, allocations: 3.079 MB / 0.5216 GB, free: 5.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4789, allocations: 0 / 0.5216 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008575/0.4874, allocations: 4.431 MB / 0.5259 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4875, allocations: 8.062 kB / 0.5259 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.4875, allocations: 8 kB / 0.5259 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005798/0.4933, allocations: 1.655 MB / 0.5276 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.4951, allocations: 387.5 kB / 0.5279 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2547/0.7498, allocations: 25.74 MB / 0.5531 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.7519, allocations: 103 kB / 0.5532 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.7522, allocations: 82.62 kB / 0.5532 GB, free: 104.4 MB / 462.1 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.002224/0.7544, allocations: 1.4 MB / 0.5546 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000771/0.7552, allocations: 315 kB / 0.5549 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.7617, allocations: 4.344 MB / 0.5591 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7618, allocations: 26.88 kB / 0.5592 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.7618, allocations: 7.625 kB / 0.5592 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.7618, allocations: 11.2 kB / 0.5592 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.7746, allocations: 8.737 MB / 0.5677 GB, free: 97.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.7746, allocations: 0 / 0.5677 GB, free: 97.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7757, allocations: 291 kB / 0.568 GB, free: 97.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/0.7804, allocations: 1.62 MB / 0.5696 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.7806, allocations: 55.98 kB / 0.5696 GB, free: 95.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.7994, allocations: 25.5 MB / 0.5945 GB, free: 69.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7994, allocations: 0 / 0.5945 GB, free: 69.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007762/0.8071, allocations: 6.064 MB / 0.6005 GB, free: 63.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.8087, allocations: 0.6904 MB / 0.6011 GB, free: 62.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.809, allocations: 48 kB / 0.6012 GB, free: 62.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.8103, allocations: 133.9 kB / 0.6013 GB, free: 62.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.8108, allocations: 213.6 kB / 0.6015 GB, free: 62.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.8109, allocations: 67.98 kB / 0.6016 GB, free: 62.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.8131, allocations: 1.852 MB / 0.6034 GB, free: 60.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8131, allocations: 0 / 0.6034 GB, free: 60.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003308/0.8164, allocations: 0.9507 MB / 0.6043 GB, free: 59.25 MB / 462.1 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.0006266/0.8171, allocations: 265.5 kB / 0.6046 GB, free: 59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006217/0.8233, allocations: 4.762 MB / 0.6092 GB, free: 54.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.8233, allocations: 4.125 kB / 0.6092 GB, free: 54.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.8274, allocations: 3.273 MB / 0.6124 GB, free: 50.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/0.8315, allocations: 0.9464 MB / 0.6133 GB, free: 49.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.845, allocations: 8.625 MB / 0.6218 GB, free: 41.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.8476, allocations: 3.175 MB / 0.6249 GB, free: 37.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001836/0.8494, allocations: 0.5753 MB / 0.6254 GB, free: 37.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.8498, allocations: 171.4 kB / 0.6256 GB, free: 37.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.8498, allocations: 0 / 0.6256 GB, free: 37.18 MB / 462.1 MB Notification: Performance of Templates: time 0.08965/0.9395, allocations: 60.61 MB / 0.6848 GB, free: 9.309 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches