Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001754/0.001754, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002266/0.002266, allocations: 207.7 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.464/1.464, 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.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2601, allocations: 53.35 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007419/0.2675, allocations: 5.32 MB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.2714, allocations: 2.029 MB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.2718, allocations: 51.62 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009321/0.2727, allocations: 393.4 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.2741, allocations: 0.5827 MB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.2745, allocations: 231.7 kB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.2767, allocations: 2.218 MB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.2783, allocations: 1.127 MB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2803, allocations: 1.093 MB / 444.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.2821, allocations: 1.202 MB / 445.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.2825, allocations: 288 kB / 445.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.2831, allocations: 367.8 kB / 446 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006738/0.2838, allocations: 0.7168 MB / 446.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.285, allocations: 0.9921 MB / 447.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.2889, allocations: 3.823 MB / 451.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2889, allocations: 0 / 451.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2889, allocations: 0 / 451.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.2889, allocations: 4 kB / 451.5 MB, free: 2.121 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004489/0.2934, allocations: 2.362 MB / 453.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2935, allocations: 12.03 kB / 453.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003429/0.2938, allocations: 274.1 kB / 454.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.2947, allocations: 291.5 kB / 454.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2973, allocations: 1.315 MB / 455.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2974, allocations: 135.5 kB / 455.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.2977, allocations: 168 kB / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.302, allocations: 2.752 MB / 458.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.302, allocations: 4 kB / 458.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.3022, allocations: 71.98 kB / 458.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.3023, allocations: 99.52 kB / 458.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/0.306, allocations: 2.11 MB / 461.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.3172, allocations: 6.636 MB / 467.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3184, allocations: 0.7099 MB / 468.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.3191, allocations: 446.7 kB / 468.8 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.3193, allocations: 40.34 kB / 468.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3193, allocations: 39 kB / 468.9 MB, free: 276 kB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.3193, allocations: 0 / 468.9 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004071/0.3234, allocations: 2.133 MB / 471.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.3235, allocations: 81.55 kB / 471.1 MB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3257, allocations: 1.567 MB / 472.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.3258, allocations: 37.7 kB / 472.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.3266, allocations: 1.002 MB / 473.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3268, allocations: 198.4 kB / 473.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.3271, allocations: 246.7 kB / 474.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3273, allocations: 357.9 kB / 474.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.3281, allocations: 454.3 kB / 475 MB, free: 10.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3294, allocations: 1.119 MB / 476.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.3315, allocations: 1.619 MB / 477.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.3315, allocations: 11.94 kB / 477.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002926/0.3344, allocations: 1.687 MB / 479.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.3345, allocations: 16 kB / 479.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.3345, allocations: 20 kB / 479.4 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.3352, allocations: 185.1 kB / 479.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/0.3361, allocations: 279.5 kB / 479.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.3389, allocations: 2.238 MB / 482.1 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3401, allocations: 83.81 kB / 482.2 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3402, allocations: 68 kB / 482.3 MB, free: 2.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001513/0.3417, allocations: 0.7117 MB / 483 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.3422, allocations: 139.2 kB / 483.1 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3439, allocations: 0.8373 MB / 484 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3439, allocations: 8 kB / 484 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3439, allocations: 0 / 484 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3439, allocations: 0 / 484 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.3483, allocations: 2.335 MB / 486.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3483, allocations: 4 kB / 486.3 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.3487, allocations: 95.88 kB / 486.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006109/0.3493, allocations: 153 kB / 486.6 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.3493, allocations: 15.94 kB / 486.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.3517, allocations: 2.184 MB / 488.8 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3517, allocations: 3.938 kB / 488.8 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.3537, allocations: 1.322 MB / 490.1 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.3543, allocations: 223 kB / 490.3 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.3545, allocations: 12 kB / 490.3 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.355, allocations: 51.97 kB / 490.4 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3552, allocations: 59.83 kB / 490.4 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3552, allocations: 12 kB / 490.4 MB, free: 9.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.3568, allocations: 1.048 MB / 491.5 MB, free: 8.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 0 / 491.5 MB, free: 8.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00131/0.3581, allocations: 344 kB / 491.8 MB, free: 8.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002664/0.3607, allocations: 1.955 MB / 493.8 MB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3627, allocations: 1.118 MB / 494.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3628, allocations: 0 / 494.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008297/0.3636, allocations: 0.4993 MB / 495.4 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.3652, allocations: 373.6 kB / 495.7 MB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.3858, allocations: 13.95 MB / 0.4978 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.3871, allocations: 1.128 MB / 0.4989 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009019/0.388, allocations: 323.3 kB / 0.4992 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/0.3888, allocations: 0.6203 MB / 0.4998 GB, free: 3.289 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3888, allocations: 0 / 0.4998 GB, free: 3.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2747/0.6635, allocations: 36.28 MB / 0.5352 GB, free: 107.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.16, allocations: 5.594 kB / 0.5352 GB, free: 107.4 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 15.714945524930954]