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.0008541/0.0008541, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009567/0.0009567, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8831/0.8831, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.073e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007124/0.007145, allocations: 9.446 MB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.0121, allocations: 3.169 MB / 337.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/0.0131, allocations: 115.2 kB / 337.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.01423, allocations: 0.737 MB / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.01612, allocations: 1.246 MB / 339.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.0168, allocations: 495.3 kB / 339.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003857/0.02066, allocations: 5.386 MB / 345.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.02288, allocations: 2.433 MB / 347.6 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.02656, allocations: 3.597 MB / 351.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.02882, allocations: 2.529 MB / 353.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.0294, allocations: 0.625 MB / 354.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008065/0.03021, allocations: 0.7108 MB / 355 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008546/0.03106, allocations: 1.714 MB / 356.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.03279, allocations: 1.945 MB / 358.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.03783, allocations: 8.609 MB / 367.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.03783, allocations: 0 / 367.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.03783, allocations: 0 / 367.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.03793, allocations: 0 / 367.3 MB, free: 4.922 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.005513/0.04345, allocations: 5.14 MB / 372.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.04349, allocations: 11.98 kB / 372.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006182/0.04411, allocations: 0.5677 MB / 373 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.04497, allocations: 0.607 MB / 373.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.0479, allocations: 2.837 MB / 376.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.04805, allocations: 296.2 kB / 376.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/0.04843, allocations: 392.3 kB / 377.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.05445, allocations: 6.191 MB / 383.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.05449, allocations: 3.938 kB / 383.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.05474, allocations: 164 kB / 383.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.05488, allocations: 224.1 kB / 383.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005115/0.05999, allocations: 5.048 MB / 388.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.07532, allocations: 14.83 MB / 403.6 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.07879, allocations: 3.905 MB / 407.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.08113, allocations: 2.454 MB / 409.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.08131, allocations: 57.95 kB / 410 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.08135, allocations: 60.56 kB / 410.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 3.797e-06/0.08135, allocations: 0 / 410.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01147/0.09282, allocations: 10.05 MB / 420.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.09286, allocations: 89.34 kB / 420.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.0952, allocations: 2.652 MB / 422.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/0.0953, allocations: 69.7 kB / 422.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008883/0.09619, allocations: 1.691 MB / 424.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.09659, allocations: 0.8714 MB / 425.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.097, allocations: 412.7 kB / 425.9 MB, free: 9.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.09706, allocations: 301.1 kB / 426.2 MB, free: 9.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.09832, allocations: 1.336 MB / 427.5 MB, free: 8.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.09974, allocations: 1.658 MB / 429.2 MB, free: 6.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.1027, allocations: 3.076 MB / 432.2 MB, free: 3.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1027, allocations: 4 kB / 432.2 MB, free: 3.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004598/0.1073, allocations: 4.431 MB / 436.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1073, allocations: 8 kB / 436.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.1073, allocations: 8 kB / 436.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/0.1102, allocations: 1.647 MB / 438.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.111, allocations: 391.4 kB / 438.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1528/0.2637, allocations: 24.46 MB / 463.2 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.265, allocations: 97.94 kB / 463.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.2651, allocations: 83.89 kB / 463.4 MB, free: 102.2 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.001429/0.2665, allocations: 1.42 MB / 464.8 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.2668, allocations: 311.9 kB / 465.1 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.2705, allocations: 4.337 MB / 469.4 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2705, allocations: 26.59 kB / 469.4 MB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.2706, allocations: 19.23 kB / 469.5 MB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2706, allocations: 12.14 kB / 469.5 MB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.2776, allocations: 8.274 MB / 477.7 MB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2776, allocations: 4 kB / 477.7 MB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.2781, allocations: 282.1 kB / 478 MB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.2803, allocations: 1.621 MB / 479.6 MB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.2804, allocations: 63.91 kB / 479.7 MB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.2911, allocations: 24.23 MB / 0.4921 GB, free: 65.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2911, allocations: 4.094 kB / 0.4921 GB, free: 65.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.2958, allocations: 6.065 MB / 0.4981 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/0.2967, allocations: 0.6344 MB / 0.4987 GB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.2969, allocations: 59.98 kB / 0.4987 GB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.2976, allocations: 119.9 kB / 0.4988 GB, free: 58.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.2979, allocations: 225.5 kB / 0.4991 GB, free: 58.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.298, allocations: 63.98 kB / 0.4991 GB, free: 58.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.2995, allocations: 1.852 MB / 0.5009 GB, free: 56.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2995, allocations: 0 / 0.5009 GB, free: 56.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002035/0.3015, allocations: 0.9589 MB / 0.5019 GB, free: 55.73 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.005101/0.3066, allocations: 6.778 MB / 0.5085 GB, free: 48.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003494/0.3101, allocations: 4.755 MB / 0.5131 GB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3101, allocations: 5.562 kB / 0.5131 GB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.3122, allocations: 3.269 MB / 0.5163 GB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.3141, allocations: 0.967 MB / 0.5173 GB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/0.3444, allocations: 32.15 MB / 0.5487 GB, free: 7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.346, allocations: 2.658 MB / 0.5513 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.3471, allocations: 0.5792 MB / 0.5518 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.3481, allocations: 1.484 MB / 0.5533 GB, free: 2.234 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3481, allocations: 1.203 kB / 0.5533 GB, free: 2.234 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2358/0.5839, allocations: 94.67 MB / 0.6457 GB, free: 144.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.57, allocations: 8.094 kB / 0.6457 GB, free: 144.4 MB / 474.7 MB " [Timeout remaining time 648] (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/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_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: 13.600624716840684]