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.001789/0.001789, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.00309/0.00309, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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.492/1.492, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 51.92 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 49.17 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009978/0.2599, allocations: 10.72 MB / 407.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.2677, allocations: 3.289 MB / 410.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.2705, allocations: 99.59 kB / 410.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.2733, allocations: 0.7331 MB / 411.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.2779, allocations: 1.185 MB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.2798, allocations: 0.5011 MB / 412.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008609/0.2884, allocations: 5.288 MB / 418.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005496/0.2939, allocations: 2.307 MB / 420.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.2997, allocations: 2.423 MB / 422.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006095/0.3058, allocations: 2.814 MB / 425.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00232/0.3081, allocations: 0.622 MB / 426.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.3114, allocations: 0.7107 MB / 427.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.3144, allocations: 1.648 MB / 428.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007029/0.3215, allocations: 2.762 MB / 431.5 MB, free: 20 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.3349, allocations: 8.436 MB / 439.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.3349, allocations: 0 / 439.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3349, allocations: 0 / 439.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003461/0.3353, allocations: 0 / 439.9 MB, free: 7.555 MB / 350.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.0148/0.3501, allocations: 5.128 MB / 445.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3501, allocations: 11.98 kB / 445.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001683/0.3518, allocations: 0.5634 MB / 445.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.3536, allocations: 0.5681 MB / 446.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.3599, allocations: 2.596 MB / 448.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.3602, allocations: 299.8 kB / 449.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.3613, allocations: 387.9 kB / 449.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.3742, allocations: 5.789 MB / 455.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.777e-05/0.3743, allocations: 0 / 455.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.3747, allocations: 164 kB / 455.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.3749, allocations: 200 kB / 455.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3851, allocations: 5.02 MB / 460.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/0.4155, allocations: 16.11 MB / 476.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/0.4219, allocations: 3.919 MB / 480.7 MB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/0.4259, allocations: 2.454 MB / 483.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.4262, allocations: 61.95 kB / 483.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.4263, allocations: 64.5 kB / 483.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 4.468e-06/0.4263, allocations: 0 / 483.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02242/0.4487, allocations: 10.03 MB / 493.3 MB, free: 1.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.4488, allocations: 77.42 kB / 493.3 MB, free: 1.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/0.453, allocations: 2.644 MB / 496 MB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004193/0.4535, allocations: 65.7 kB / 496 MB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.4549, allocations: 1.675 MB / 497.7 MB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009658/0.4558, allocations: 0.8831 MB / 498.6 MB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.4565, allocations: 420.6 kB / 499 MB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4567, allocations: 305.1 kB / 499.3 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.4588, allocations: 1.336 MB / 0.4889 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.4613, allocations: 1.65 MB / 0.4905 GB, free: 8.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.4661, allocations: 3.087 MB / 0.4935 GB, free: 5.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4661, allocations: 0 / 0.4935 GB, free: 5.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008371/0.4745, allocations: 4.419 MB / 0.4979 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4745, allocations: 8 kB / 0.4979 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.4745, allocations: 11.94 kB / 0.4979 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.4801, allocations: 1.647 MB / 0.4995 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.4817, allocations: 383.5 kB / 0.4999 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02813/0.5099, allocations: 24.7 MB / 0.524 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.512, allocations: 95.88 kB / 0.5241 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.5123, allocations: 79.98 kB / 0.5241 GB, free: 4.695 MB / 446.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.00251/0.5149, allocations: 1.411 MB / 0.5255 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.5155, allocations: 306.1 kB / 0.5258 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.5235, allocations: 4.333 MB / 0.53 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.5236, allocations: 32 kB / 0.5301 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.5236, allocations: 8 kB / 0.5301 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.5236, allocations: 11.95 kB / 0.5301 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.5399, allocations: 8.743 MB / 0.5386 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.5399, allocations: 4 kB / 0.5386 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5411, allocations: 291.6 kB / 0.5389 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/0.5466, allocations: 1.621 MB / 0.5405 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/0.5469, allocations: 59.97 kB / 0.5406 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2025/0.7494, allocations: 24.47 MB / 0.5644 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7494, allocations: 3.844 kB / 0.5645 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009313/0.7587, allocations: 6.063 MB / 0.5704 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/0.7605, allocations: 0.6348 MB / 0.571 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/0.761, allocations: 54.44 kB / 0.571 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.7624, allocations: 119.3 kB / 0.5712 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/0.763, allocations: 223.4 kB / 0.5714 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.7632, allocations: 63.41 kB / 0.5714 GB, free: 136.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002714/0.7659, allocations: 1.853 MB / 0.5732 GB, free: 136.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7659, allocations: 1.344 kB / 0.5732 GB, free: 136.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003649/0.7695, allocations: 0.9513 MB / 0.5742 GB, free: 136 MB / 478.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.008913/0.7784, allocations: 6.77 MB / 0.5808 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005951/0.7844, allocations: 4.763 MB / 0.5854 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7844, allocations: 0 / 0.5854 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.788, allocations: 3.271 MB / 0.5886 GB, free: 128.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.7915, allocations: 0.9788 MB / 0.5896 GB, free: 128.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/0.8294, allocations: 31.97 MB / 0.6208 GB, free: 98.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.8316, allocations: 3.169 MB / 0.6239 GB, free: 95.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001434/0.833, allocations: 0.5674 MB / 0.6245 GB, free: 94.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.8344, allocations: 1.468 MB / 0.6259 GB, free: 93.31 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.8344, allocations: 0 / 0.6259 GB, free: 93.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/0.9834, allocations: 93.97 MB / 0.7177 GB, free: 15.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/20.36, allocations: 11.89 kB / 0.7177 GB, free: 15.18 MB / 494.1 MB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 23.390643280930817]