Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008384/0.0008385, allocations: 96.11 kB / 17 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009234/0.0009234, allocations: 197 kB / 17.9 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002201, allocations: 4 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1059, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01031/0.1163, allocations: 9.45 MB / 368.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007601/0.124, allocations: 3.109 MB / 371.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.1257, allocations: 79.56 kB / 371.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1271, allocations: 0.5356 MB / 371.8 MB, free: 228 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1831/0.3102, allocations: 0.9998 MB / 372.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3113, allocations: 295.5 kB / 373.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.3182, allocations: 5.339 MB / 378.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005164/0.3234, allocations: 3.066 MB / 381.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.3277, allocations: 1.721 MB / 383.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.3327, allocations: 2.214 MB / 385.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009222/0.3336, allocations: 268.4 kB / 385.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.3356, allocations: 334.2 kB / 386 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.337, allocations: 1.195 MB / 387.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.3389, allocations: 0.9424 MB / 388.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.3455, allocations: 6.829 MB / 395 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3455, allocations: 0 / 395 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3456, allocations: 0 / 395 MB, free: 3.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002445/0.3458, allocations: 1.031 kB / 395 MB, free: 3.059 MB / 302.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.009776/0.3556, allocations: 4.355 MB / 399.4 MB, free: 496 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3556, allocations: 12.66 kB / 399.4 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.3578, allocations: 0.5797 MB / 399.9 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005709/0.3635, allocations: 2.681 MB / 402.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.3639, allocations: 302.9 kB / 402.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/0.3648, allocations: 382.6 kB / 403.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.3785, allocations: 5.783 MB / 409.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.3786, allocations: 0 / 409.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/0.3791, allocations: 168.1 kB / 409.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/0.3794, allocations: 204 kB / 409.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.3903, allocations: 5.005 MB / 414.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03232/0.4226, allocations: 16.49 MB / 430.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/0.43, allocations: 6.787 MB / 437.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004139/0.4341, allocations: 2.679 MB / 440.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.4345, allocations: 143.1 kB / 440.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.8e-05/0.4346, allocations: 60.56 kB / 440.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 5.701e-06/0.4346, allocations: 1.125 kB / 440.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02133/0.456, allocations: 10.72 MB / 451.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.456, allocations: 83.55 kB / 451.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.4606, allocations: 2.617 MB / 454 MB, free: 9.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.461, allocations: 69.7 kB / 454.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.4623, allocations: 1.651 MB / 455.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008478/0.4631, allocations: 0.8297 MB / 456.6 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.4633, allocations: 52 kB / 456.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.4636, allocations: 406.7 kB / 457 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.4658, allocations: 1.332 MB / 458.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.4683, allocations: 1.65 MB / 460 MB, free: 3.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.4708, allocations: 1.575 MB / 461.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.4708, allocations: 0.5625 kB / 461.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007815/0.4787, allocations: 4.441 MB / 466 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4787, allocations: 11.95 kB / 466 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4787, allocations: 12.06 kB / 466 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/0.484, allocations: 1.639 MB / 467.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4855, allocations: 395.4 kB / 468.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/0.5102, allocations: 23.48 MB / 491.5 MB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.5128, allocations: 99.92 kB / 491.6 MB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/0.5132, allocations: 80.02 kB / 491.7 MB, free: 2.109 MB / 398.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 (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 initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002998/0.5162, allocations: 1.411 MB / 493.1 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008859/0.5171, allocations: 292.5 kB / 493.4 MB, free: 408 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007923/0.5251, allocations: 4.376 MB / 497.8 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.5251, allocations: 28 kB / 497.8 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.5252, allocations: 14.77 kB / 497.8 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.5252, allocations: 11.95 kB / 497.8 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.5396, allocations: 8.895 MB / 0.4949 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5396, allocations: 11.89 kB / 0.4949 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5407, allocations: 283.7 kB / 0.4951 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004868/0.5456, allocations: 1.62 MB / 0.4967 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.5458, allocations: 55.98 kB / 0.4968 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/0.5687, allocations: 23.23 MB / 0.5195 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5687, allocations: 3.953 kB / 0.5195 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009486/0.5782, allocations: 6.084 MB / 0.5254 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.5799, allocations: 0.6732 MB / 0.5261 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005943/0.5805, allocations: 59.98 kB / 0.5261 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5817, allocations: 127.9 kB / 0.5262 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.5822, allocations: 213.6 kB / 0.5264 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.5823, allocations: 67.98 kB / 0.5265 GB, free: 1.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1771/0.7594, allocations: 1.835 MB / 0.5283 GB, free: 137.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7595, allocations: 0 / 0.5283 GB, free: 137.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004837/0.7643, allocations: 0.9546 MB / 0.5292 GB, free: 137.8 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005225/0.7648, allocations: 208.1 kB / 0.5294 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007188/0.772, allocations: 4.851 MB / 0.5342 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7721, allocations: 1.094 kB / 0.5342 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.7763, allocations: 3.359 MB / 0.5374 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/0.7805, allocations: 0.9246 MB / 0.5384 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.795, allocations: 9.943 MB / 0.5481 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.798, allocations: 3.176 MB / 0.5512 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002001/0.8, allocations: 0.5711 MB / 0.5517 GB, free: 129.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.8005, allocations: 164.9 kB / 0.5519 GB, free: 129.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8005, allocations: 0 / 0.5519 GB, free: 129.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07342/0.8739, allocations: 56.8 MB / 0.6073 GB, free: 80.08 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches