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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 121.9 kB / 18.51 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 215.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 53.33 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.2703/0.399, allocations: 10.83 MB / 437.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.4056, allocations: 3.259 MB / 440.8 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.4076, allocations: 86.94 kB / 440.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4094, allocations: 0.7528 MB / 441.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.4129, allocations: 1.206 MB / 442.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.4141, allocations: 480.4 kB / 443.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00678/0.4209, allocations: 5.202 MB / 448.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005373/0.4263, allocations: 3.442 MB / 451.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/0.4321, allocations: 2.421 MB / 454.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006101/0.4382, allocations: 2.856 MB / 457.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.4397, allocations: 0.6234 MB / 457.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.4427, allocations: 0.7124 MB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.4451, allocations: 1.663 MB / 460.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007307/0.4524, allocations: 2.784 MB / 463 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.4674, allocations: 8.488 MB / 471.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.4674, allocations: 0 / 471.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4674, allocations: 3.938 kB / 471.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003253/0.4678, allocations: 0 / 471.5 MB, free: 3.016 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01587/0.4836, allocations: 5.264 MB / 476.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4837, allocations: 8.031 kB / 476.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.4847, allocations: 0.5638 MB / 477.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.4867, allocations: 0.5993 MB / 477.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007763/0.4944, allocations: 2.895 MB / 480.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.4948, allocations: 299.8 kB / 481.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.496, allocations: 384 kB / 481.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.5081, allocations: 5.865 MB / 487.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.5082, allocations: 4.875 kB / 487.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.5085, allocations: 156.7 kB / 487.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/0.5088, allocations: 228.1 kB / 487.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009028/0.5178, allocations: 5.063 MB / 492.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.5484, allocations: 16.93 MB / 0.4978 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007728/0.5561, allocations: 6.612 MB / 0.5042 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.56, allocations: 2.454 MB / 0.5066 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.5603, allocations: 139.1 kB / 0.5068 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.5604, allocations: 64.5 kB / 0.5068 GB, free: 3.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.069e-06/0.5604, allocations: 0 / 0.5068 GB, free: 3.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02254/0.5829, allocations: 10.74 MB / 0.5173 GB, free: 8.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.583, allocations: 77.42 kB / 0.5174 GB, free: 8.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5878, allocations: 2.64 MB / 0.52 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.5881, allocations: 73.7 kB / 0.52 GB, free: 5.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.5896, allocations: 1.691 MB / 0.5217 GB, free: 4.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/0.5906, allocations: 0.8753 MB / 0.5225 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.5913, allocations: 428.6 kB / 0.5229 GB, free: 2.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5915, allocations: 301.1 kB / 0.5232 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.5936, allocations: 1.332 MB / 0.5245 GB, free: 1.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.596, allocations: 1.65 MB / 0.5261 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004666/0.6007, allocations: 3.091 MB / 0.5292 GB, free: 12.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.6007, allocations: 4 kB / 0.5292 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008203/0.6089, allocations: 4.431 MB / 0.5335 GB, free: 7.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6089, allocations: 8 kB / 0.5335 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.609, allocations: 8 kB / 0.5335 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/0.6145, allocations: 1.644 MB / 0.5351 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.6161, allocations: 395.4 kB / 0.5355 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03087/0.6469, allocations: 25.75 MB / 0.5606 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.6497, allocations: 92 kB / 0.5607 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005722/0.6503, allocations: 79.98 kB / 0.5608 GB, free: 10.29 MB / 478.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.00411/0.6544, allocations: 1.422 MB / 0.5622 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/0.6557, allocations: 310.1 kB / 0.5625 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009383/0.6651, allocations: 4.337 MB / 0.5667 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.6651, allocations: 31.94 kB / 0.5668 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-05/0.6651, allocations: 15.88 kB / 0.5668 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.6652, allocations: 11.95 kB / 0.5668 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/0.6853, allocations: 8.763 MB / 0.5753 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.6853, allocations: 0 / 0.5753 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6866, allocations: 291.7 kB / 0.5756 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005504/0.6921, allocations: 1.616 MB / 0.5772 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/0.6923, allocations: 63.92 kB / 0.5773 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/0.7225, allocations: 25.5 MB / 0.6022 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7225, allocations: 4.031 kB / 0.6022 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.7339, allocations: 6.072 MB / 0.6081 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/0.7364, allocations: 0.6903 MB / 0.6088 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/0.7374, allocations: 59.98 kB / 0.6088 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/0.7393, allocations: 111.9 kB / 0.6089 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/0.74, allocations: 218.1 kB / 0.6091 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.7402, allocations: 71.92 kB / 0.6092 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003953/0.7441, allocations: 1.852 MB / 0.611 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7441, allocations: 0 / 0.611 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005058/0.7492, allocations: 0.9609 MB / 0.612 GB, free: 4.125 MB / 0.5137 GB 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.258/1.007, allocations: 6.766 MB / 0.6186 GB, free: 159 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006899/1.014, allocations: 4.758 MB / 0.6232 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.014, allocations: 1.188 kB / 0.6232 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005807/1.02, allocations: 3.275 MB / 0.6264 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/1.024, allocations: 0.9608 MB / 0.6273 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04961/1.074, allocations: 31.99 MB / 0.6586 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.076, allocations: 3.193 MB / 0.6617 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001975/1.078, allocations: 0.5883 MB / 0.6623 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.08, allocations: 1.477 MB / 0.6637 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.143e-06/1.08, allocations: 0 / 0.6637 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.237, allocations: 91.9 MB / 0.7535 GB, free: 47.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/19.86, allocations: 12.69 kB / 0.7535 GB, free: 47.95 MB / 0.5137 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.089047365356237]