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.0008017/0.0008017, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.005213/0.005213, allocations: 159.4 kB / 24.69 MB, free: 9.406 MB / 18.57 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 0.9593/0.9593, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.563e-05, allocations: 2.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1393/0.1393, allocations: 9.306 MB / 307.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.1449, allocations: 3.17 MB / 311 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.1463, allocations: 94.06 kB / 311 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.1477, allocations: 0.7347 MB / 311.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.1504, allocations: 1.224 MB / 313 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.1513, allocations: 0.4956 MB / 313.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004904/0.1562, allocations: 5.468 MB / 319 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.1586, allocations: 2.243 MB / 321.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.1642, allocations: 3.524 MB / 324.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.1675, allocations: 2.501 MB / 327.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.1683, allocations: 0.6271 MB / 327.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1693, allocations: 0.7057 MB / 328.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009341/0.1702, allocations: 1.681 MB / 330.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.1722, allocations: 1.934 MB / 332.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005805/0.178, allocations: 8.551 MB / 340.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.178, allocations: 0 / 340.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.178, allocations: 0 / 340.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001447/0.1781, allocations: 3.938 kB / 340.7 MB, free: 4.395 MB / 298.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.006064/0.1842, allocations: 5.073 MB / 345.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1842, allocations: 15.98 kB / 345.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004794/0.1847, allocations: 0.5595 MB / 346.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.1855, allocations: 0.5681 MB / 347 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.1882, allocations: 2.592 MB / 349.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.1883, allocations: 298.1 kB / 349.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.1887, allocations: 387.9 kB / 350.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006181/0.1949, allocations: 6.116 MB / 356.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.1949, allocations: 7.938 kB / 356.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.1952, allocations: 156 kB / 356.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.1953, allocations: 208 kB / 356.7 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/0.2006, allocations: 5.008 MB / 361.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.2165, allocations: 14.76 MB / 376.5 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.2199, allocations: 3.897 MB / 380.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.2221, allocations: 2.451 MB / 382.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2223, allocations: 57.97 kB / 382.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2223, allocations: 72.38 kB / 382.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 3.417e-06/0.2224, allocations: 4 kB / 382.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01189/0.2342, allocations: 10.03 MB / 393 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2343, allocations: 81.42 kB / 393.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.2368, allocations: 2.647 MB / 395.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.2369, allocations: 73.7 kB / 395.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.2376, allocations: 1.671 MB / 397.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.2381, allocations: 0.8714 MB / 398.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.2385, allocations: 412.7 kB / 398.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.2385, allocations: 305.1 kB / 399 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.2398, allocations: 1.336 MB / 400.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.2412, allocations: 1.65 MB / 402 MB, free: 6.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.244, allocations: 3.083 MB / 405.1 MB, free: 3.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.244, allocations: 7.938 kB / 405.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00438/0.2483, allocations: 4.423 MB / 409.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2484, allocations: 11.94 kB / 409.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2484, allocations: 4 kB / 409.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.2509, allocations: 1.647 MB / 411.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.2517, allocations: 391.4 kB / 411.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.2674, allocations: 24.47 MB / 436 MB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.2687, allocations: 95.88 kB / 436.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.2688, allocations: 76 kB / 436.2 MB, free: 2.812 MB / 394.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.001939/0.2708, allocations: 1.415 MB / 437.6 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.2711, allocations: 306.1 kB / 437.9 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.2758, allocations: 4.345 MB / 442.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2758, allocations: 24 kB / 442.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.2758, allocations: 8 kB / 442.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2758, allocations: 19.88 kB / 442.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009171/0.285, allocations: 8.241 MB / 450.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.285, allocations: 0 / 450.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.2856, allocations: 287.7 kB / 450.8 MB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.2881, allocations: 1.628 MB / 452.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.2883, allocations: 55.98 kB / 452.5 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1669/0.4551, allocations: 24.24 MB / 476.8 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4551, allocations: 5.828 kB / 476.8 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/0.4622, allocations: 6.077 MB / 482.8 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.4636, allocations: 0.627 MB / 483.5 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.4638, allocations: 57.58 kB / 483.5 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.4645, allocations: 120.4 kB / 483.6 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/0.465, allocations: 227.3 kB / 483.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4651, allocations: 63.81 kB / 483.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00208/0.4672, allocations: 1.849 MB / 485.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4672, allocations: 0 / 485.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00286/0.4701, allocations: 0.9569 MB / 486.7 MB, free: 126.5 MB / 426.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.006678/0.4767, allocations: 6.762 MB / 493.5 MB, free: 123.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.4811, allocations: 4.767 MB / 498.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4811, allocations: 1.031 kB / 498.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.4838, allocations: 3.271 MB / 0.4898 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.4865, allocations: 0.9586 MB / 0.4907 GB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/0.5204, allocations: 32.08 MB / 0.522 GB, free: 89.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.5221, allocations: 2.632 MB / 0.5246 GB, free: 87.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00121/0.5233, allocations: 0.5713 MB / 0.5252 GB, free: 86.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.5243, allocations: 1.465 MB / 0.5266 GB, free: 85.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5243, allocations: 4 kB / 0.5266 GB, free: 85.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.6306, allocations: 94.57 MB / 0.619 GB, free: 6.414 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.35, allocations: 4 kB / 0.619 GB, free: 6.41 MB / 442.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 13.563635054044425]