Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001891/0.001891, allocations: 117.9 kB / 18.45 MB, free: 4.609 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.002305/0.002305, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.555/1.555, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.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.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",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.001824/0.001824, allocations: 51.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1169, allocations: 49.12 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009324/0.1263, allocations: 6.848 MB / 398.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.1313, allocations: 2.357 MB / 400.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1325, allocations: 55.56 kB / 400.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.1338, allocations: 472.9 kB / 401.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.1359, allocations: 0.6798 MB / 401.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.1365, allocations: 291.5 kB / 402.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.1402, allocations: 2.91 MB / 405 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.1426, allocations: 1.759 MB / 406.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.1454, allocations: 1.351 MB / 408.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.1479, allocations: 1.561 MB / 409.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007761/0.1487, allocations: 352 kB / 410 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.1499, allocations: 431.8 kB / 410.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009818/0.1508, allocations: 0.8999 MB / 411.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.1529, allocations: 1.521 MB / 412.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.159, allocations: 4.633 MB / 417.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.159, allocations: 0 / 417.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.279e-06/0.159, allocations: 3.984 kB / 417.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.1591, allocations: 0 / 417.5 MB, free: 14.46 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006814/0.1659, allocations: 3.019 MB / 420.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.166, allocations: 8.031 kB / 420.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005125/0.1665, allocations: 332.9 kB / 420.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008684/0.1674, allocations: 323.1 kB / 421.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.17, allocations: 1.523 MB / 422.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1702, allocations: 160.4 kB / 422.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.1705, allocations: 220 kB / 423.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005704/0.1762, allocations: 3.171 MB / 426.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.1763, allocations: 3.938 kB / 426.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.1765, allocations: 91.98 kB / 426.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.1766, allocations: 112.4 kB / 426.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.1815, allocations: 2.723 MB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1966, allocations: 8.817 MB / 438 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.2003, allocations: 3.281 MB / 441.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.2024, allocations: 1.241 MB / 442.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.2027, allocations: 118.4 kB / 442.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.2028, allocations: 47.88 kB / 442.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.577e-06/0.2028, allocations: 0 / 442.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01192/0.2147, allocations: 5.651 MB / 448.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.2148, allocations: 68.72 kB / 448.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.2175, allocations: 1.502 MB / 449.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.2176, allocations: 45.7 kB / 449.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/0.2184, allocations: 0.9588 MB / 450.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.2189, allocations: 471.9 kB / 451.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/0.2194, allocations: 222.9 kB / 451.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2196, allocations: 353.9 kB / 451.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.2207, allocations: 0.6935 MB / 452.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.222, allocations: 0.8676 MB / 453.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.2243, allocations: 1.621 MB / 455.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2243, allocations: 4 kB / 455.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004307/0.2287, allocations: 2.287 MB / 457.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.2287, allocations: 8 kB / 457.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.2287, allocations: 4 kB / 457.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/0.2316, allocations: 0.8267 MB / 458.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.2325, allocations: 199.7 kB / 458.4 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2475/0.48, allocations: 11.5 MB / 469.9 MB, free: 58.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4811, allocations: 53.3 kB / 470 MB, free: 58.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/0.4812, allocations: 38.67 kB / 470 MB, free: 58.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.4826, allocations: 0.8206 MB / 470.8 MB, free: 57.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.4829, allocations: 172.1 kB / 471 MB, free: 57.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.4874, allocations: 2.247 MB / 473.2 MB, free: 56.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4874, allocations: 13.53 kB / 473.3 MB, free: 56.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.4874, allocations: 4.375 kB / 473.3 MB, free: 56.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.4874, allocations: 7.25 kB / 473.3 MB, free: 56.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009255/0.4967, allocations: 4.695 MB / 478 MB, free: 55.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4967, allocations: 1.344 kB / 478 MB, free: 55.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/0.4975, allocations: 158.8 kB / 478.1 MB, free: 55.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.5, allocations: 0.8173 MB / 478.9 MB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/0.5001, allocations: 24.91 kB / 479 MB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009778/0.5099, allocations: 11.4 MB / 490.4 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5099, allocations: 3.844 kB / 490.4 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.5147, allocations: 3.233 MB / 493.6 MB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.5159, allocations: 409.7 kB / 494 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.5161, allocations: 29.69 kB / 494 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.5169, allocations: 67.72 kB / 494.1 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.5172, allocations: 118.7 kB / 494.2 MB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.411e-05/0.5173, allocations: 36.83 kB / 494.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.5186, allocations: 1.056 MB / 495.3 MB, free: 42.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5186, allocations: 0 / 495.3 MB, free: 42.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001924/0.5205, allocations: 0.515 MB / 495.8 MB, free: 42.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004326/0.5248, allocations: 3.874 MB / 499.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.5282, allocations: 2.351 MB / 0.4903 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5282, allocations: 0 / 0.4903 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.5303, allocations: 1.598 MB / 0.4918 GB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5329, allocations: 0.51 MB / 0.4923 GB, free: 33.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.5574, allocations: 17.61 MB / 0.5095 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.5588, allocations: 2.04 MB / 0.5115 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008891/0.5597, allocations: 321.5 kB / 0.5118 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007373/0.5605, allocations: 0.7766 MB / 0.5126 GB, free: 12.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5605, allocations: 0 / 0.5126 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/0.7092, allocations: 50.86 MB / 0.5622 GB, free: 9.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.76, allocations: 11.94 kB / 0.5623 GB, free: 9.641 MB / 430.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.638402184995357]