Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008424/0.0008424, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.00086/0.00086, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8748/0.8748, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.058e-05, allocations: 2.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.006933/0.006944, allocations: 9.402 MB / 334 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01156, allocations: 3.147 MB / 337.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01264, allocations: 107.2 kB / 337.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.01387, allocations: 0.7254 MB / 338 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01595, allocations: 1.23 MB / 339.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.0167, allocations: 483.3 kB / 339.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.02059, allocations: 5.328 MB / 345 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.02281, allocations: 2.437 MB / 347.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.0265, allocations: 3.546 MB / 351 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.02855, allocations: 2.513 MB / 353.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.02902, allocations: 0.6211 MB / 354.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.02973, allocations: 0.7107 MB / 354.8 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008667/0.0306, allocations: 1.695 MB / 356.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.0319, allocations: 1.934 MB / 358.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.03666, allocations: 8.555 MB / 367 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.03666, allocations: 11.94 kB / 367 MB, free: 5.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03666, allocations: 0 / 367 MB, free: 5.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.03675, allocations: 0 / 367 MB, free: 5.262 MB / 330.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.005469/0.04222, allocations: 5.115 MB / 372.1 MB, free: 92 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.04226, allocations: 11.97 kB / 372.2 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005071/0.04276, allocations: 0.5634 MB / 372.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.04364, allocations: 0.5954 MB / 373.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.04667, allocations: 2.837 MB / 376.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.0468, allocations: 300 kB / 376.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.04714, allocations: 376 kB / 376.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/0.05298, allocations: 6.127 MB / 382.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.05303, allocations: 7.938 kB / 382.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.05327, allocations: 160 kB / 383.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.05339, allocations: 208 kB / 383.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.05876, allocations: 5.016 MB / 388.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.07518, allocations: 14.75 MB / 403.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.07878, allocations: 3.897 MB / 407 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.08133, allocations: 2.466 MB / 409.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.08152, allocations: 53.97 kB / 409.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.08156, allocations: 64.5 kB / 409.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 4.098e-06/0.08156, allocations: 0 / 409.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01196/0.09353, allocations: 10.03 MB / 419.6 MB, free: 120 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.09357, allocations: 77.42 kB / 419.7 MB, free: 28 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.0962, allocations: 2.659 MB / 422.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.0963, allocations: 65.7 kB / 422.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.09734, allocations: 1.675 MB / 424.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.09778, allocations: 0.8753 MB / 424.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.0982, allocations: 408.7 kB / 425.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.09827, allocations: 305.1 kB / 425.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.09954, allocations: 1.34 MB / 427 MB, free: 8.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.101, allocations: 1.65 MB / 428.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.104, allocations: 3.079 MB / 431.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.104, allocations: 8 kB / 431.7 MB, free: 3.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004414/0.1084, allocations: 4.431 MB / 436.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1084, allocations: 8 kB / 436.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1084, allocations: 4 kB / 436.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/0.1113, allocations: 1.647 MB / 437.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.112, allocations: 383.5 kB / 438.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1569/0.269, allocations: 24.48 MB / 462.7 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2702, allocations: 96.84 kB / 462.7 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.2703, allocations: 86.61 kB / 462.8 MB, free: 102.4 MB / 410.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.001384/0.2717, allocations: 1.405 MB / 464.2 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.2719, allocations: 315.2 kB / 464.5 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.2756, allocations: 4.347 MB / 468.9 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.2757, allocations: 22.78 kB / 468.9 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2757, allocations: 11.16 kB / 468.9 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2757, allocations: 12.38 kB / 468.9 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007289/0.283, allocations: 8.249 MB / 477.2 MB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.283, allocations: 6.938 kB / 477.2 MB, free: 93.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.2836, allocations: 283.6 kB / 477.5 MB, free: 92.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.2859, allocations: 1.621 MB / 479.1 MB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.286, allocations: 59.98 kB / 479.1 MB, free: 91.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.2976, allocations: 24.24 MB / 0.4916 GB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2976, allocations: 0 / 0.4916 GB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.3027, allocations: 6.069 MB / 0.4975 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.3037, allocations: 0.6248 MB / 0.4981 GB, free: 59.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.3039, allocations: 55.98 kB / 0.4982 GB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.3046, allocations: 121.8 kB / 0.4983 GB, free: 59.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.3049, allocations: 229.5 kB / 0.4985 GB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.305, allocations: 64 kB / 0.4986 GB, free: 58.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.3065, allocations: 1.852 MB / 0.5004 GB, free: 57.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3065, allocations: 4 kB / 0.5004 GB, free: 57.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002104/0.3086, allocations: 0.9513 MB / 0.5013 GB, free: 56.07 MB / 410.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.005084/0.3137, allocations: 6.779 MB / 0.5079 GB, free: 49.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.3178, allocations: 4.756 MB / 0.5126 GB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3178, allocations: 0 / 0.5126 GB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.3201, allocations: 3.278 MB / 0.5158 GB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.3227, allocations: 0.9698 MB / 0.5167 GB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/0.3546, allocations: 32.1 MB / 0.5481 GB, free: 7.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.3562, allocations: 2.637 MB / 0.5507 GB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.3573, allocations: 0.5824 MB / 0.5512 GB, free: 4.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/0.3582, allocations: 1.473 MB / 0.5527 GB, free: 2.641 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3582, allocations: 0 / 0.5527 GB, free: 2.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/0.6112, allocations: 94.58 MB / 0.645 GB, free: 145 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.06, allocations: 3.984 kB / 0.645 GB, free: 145 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 13.003223028033972]