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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001424/0.001424, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001479/0.001479, allocations: 51.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01116/0.2423, allocations: 9.386 MB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.2487, allocations: 3.139 MB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.2501, allocations: 107.2 kB / 443.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.2518, allocations: 0.7372 MB / 444.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.2547, allocations: 1.181 MB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2557, allocations: 479.5 kB / 446.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006204/0.2619, allocations: 5.147 MB / 451.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.2654, allocations: 2.499 MB / 453.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004666/0.2701, allocations: 2.442 MB / 456.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005363/0.2754, allocations: 2.833 MB / 459.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.277, allocations: 0.625 MB / 459.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.2794, allocations: 0.6991 MB / 460.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.2814, allocations: 1.656 MB / 462 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004202/0.2856, allocations: 2.249 MB / 464.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.2962, allocations: 8.487 MB / 472.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.2962, allocations: 3.984 kB / 472.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2962, allocations: 3.938 kB / 472.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000269/0.2965, allocations: 0 / 472.8 MB, free: 12.77 MB / 382.1 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.01255/0.3091, allocations: 5.159 MB / 477.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3091, allocations: 8.031 kB / 477.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001054/0.3102, allocations: 0.5595 MB / 478.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.312, allocations: 0.6031 MB / 479.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006244/0.3182, allocations: 2.83 MB / 481.9 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.3185, allocations: 291.8 kB / 482.2 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008986/0.3194, allocations: 388 kB / 482.6 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.3311, allocations: 6.131 MB / 488.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.961e-05/0.3311, allocations: 11.92 kB / 488.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/0.3316, allocations: 160 kB / 488.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.3318, allocations: 204 kB / 489.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008612/0.3404, allocations: 5.02 MB / 494.1 MB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.3666, allocations: 14.75 MB / 0.4969 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005673/0.3723, allocations: 3.89 MB / 0.5007 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.376, allocations: 2.446 MB / 0.5031 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.3762, allocations: 61.97 kB / 0.5032 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.3763, allocations: 64.55 kB / 0.5033 GB, free: 1.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.37e-06/0.3763, allocations: 0 / 0.5033 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02012/0.3964, allocations: 10.04 MB / 0.5131 GB, free: 7.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.3965, allocations: 81.42 kB / 0.5131 GB, free: 7.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.4008, allocations: 2.652 MB / 0.5157 GB, free: 4.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/0.4012, allocations: 73.7 kB / 0.5158 GB, free: 4.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.4025, allocations: 1.679 MB / 0.5174 GB, free: 3.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/0.4034, allocations: 0.8831 MB / 0.5183 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000682/0.4041, allocations: 412.7 kB / 0.5187 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4042, allocations: 305.1 kB / 0.519 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.4063, allocations: 1.34 MB / 0.5203 GB, free: 116 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.4086, allocations: 1.658 MB / 0.5219 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/0.4131, allocations: 3.076 MB / 0.5249 GB, free: 11.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.4131, allocations: 8 kB / 0.5249 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008141/0.4213, allocations: 4.435 MB / 0.5292 GB, free: 6.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.4213, allocations: 15.03 kB / 0.5293 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.4213, allocations: 4 kB / 0.5293 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005681/0.427, allocations: 1.643 MB / 0.5309 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.4287, allocations: 391.5 kB / 0.5312 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2152/0.6438, allocations: 24.48 MB / 0.5552 GB, free: 84.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.6457, allocations: 95.3 kB / 0.5552 GB, free: 84.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.6458, allocations: 71.84 kB / 0.5553 GB, free: 84.7 MB / 446.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.00171/0.6476, allocations: 1.411 MB / 0.5567 GB, free: 84.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.6481, allocations: 324.5 kB / 0.557 GB, free: 84.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.6537, allocations: 4.336 MB / 0.5612 GB, free: 81.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6537, allocations: 27.75 kB / 0.5613 GB, free: 81.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6538, allocations: 8 kB / 0.5613 GB, free: 81.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.6538, allocations: 14.39 kB / 0.5613 GB, free: 81.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.6646, allocations: 8.266 MB / 0.5694 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.6646, allocations: 0 / 0.5694 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.6657, allocations: 288.2 kB / 0.5696 GB, free: 73.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004551/0.6703, allocations: 1.612 MB / 0.5712 GB, free: 71.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.6704, allocations: 59.97 kB / 0.5713 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.6873, allocations: 24.26 MB / 0.595 GB, free: 46.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6873, allocations: 0 / 0.595 GB, free: 46.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.6946, allocations: 6.064 MB / 0.6009 GB, free: 40.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.6964, allocations: 0.6288 MB / 0.6015 GB, free: 39.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/0.6969, allocations: 59.98 kB / 0.6015 GB, free: 39.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.6982, allocations: 124.4 kB / 0.6017 GB, free: 39.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.6986, allocations: 229.3 kB / 0.6019 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.6988, allocations: 67.98 kB / 0.602 GB, free: 39.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002144/0.7009, allocations: 1.856 MB / 0.6038 GB, free: 37.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7009, allocations: 0 / 0.6038 GB, free: 37.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003525/0.7044, allocations: 0.9596 MB / 0.6047 GB, free: 36.65 MB / 446.1 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.007554/0.712, allocations: 6.77 MB / 0.6113 GB, free: 29.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005458/0.7175, allocations: 4.767 MB / 0.616 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7175, allocations: 0 / 0.616 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.721, allocations: 3.275 MB / 0.6192 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/0.7249, allocations: 0.9555 MB / 0.6201 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04934/0.7743, allocations: 31.98 MB / 0.6513 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/0.7784, allocations: 2.641 MB / 0.6539 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001884/0.7803, allocations: 0.5792 MB / 0.6545 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/0.7825, allocations: 1.476 MB / 0.6559 GB, free: 15.37 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7825, allocations: 0 / 0.6559 GB, free: 15.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4124/1.195, allocations: 95.72 MB / 0.7494 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.66, allocations: 9.172 kB / 0.7494 GB, free: 182.3 MB / 0.5294 GB " [Timeout remaining time 642] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/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: 20.600747531978413]