Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 122 kB / 17.74 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 186.9 kB / 20.68 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 246.4 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 357.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 49.44 MB / 406.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008034/0.1127, allocations: 5.909 MB / 412.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.1168, allocations: 2.06 MB / 414.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.1174, allocations: 43.81 kB / 414.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.1185, allocations: 397.4 kB / 415.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.12, allocations: 0.5437 MB / 415.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1204, allocations: 219.7 kB / 416.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.123, allocations: 2.21 MB / 418.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.1259, allocations: 2.224 MB / 420.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.1286, allocations: 1.039 MB / 421.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.1309, allocations: 1.214 MB / 422.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006581/0.1316, allocations: 291.9 kB / 423.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/0.1326, allocations: 375.8 kB / 423.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006927/0.1333, allocations: 0.7091 MB / 424.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1349, allocations: 1.225 MB / 425.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.1393, allocations: 3.792 MB / 429.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1393, allocations: 4 kB / 429.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1393, allocations: 0 / 429.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.183e-05/0.1394, allocations: 0 / 429.2 MB, free: 0.9961 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.2043/0.3437, allocations: 2.428 MB / 431.6 MB, free: 21.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3437, allocations: 8.688 kB / 431.6 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002992/0.344, allocations: 271.5 kB / 431.9 MB, free: 20.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.3447, allocations: 263.5 kB / 432.1 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.3464, allocations: 1.356 MB / 433.5 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.3465, allocations: 132.3 kB / 433.6 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.3468, allocations: 173.1 kB / 433.8 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.3508, allocations: 2.544 MB / 436.3 MB, free: 20.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.3509, allocations: 9.688 kB / 436.3 MB, free: 20.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.3511, allocations: 77.56 kB / 436.4 MB, free: 20.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.3512, allocations: 94.62 kB / 436.5 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.3546, allocations: 2.109 MB / 438.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009785/0.3644, allocations: 7.379 MB / 446 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.3657, allocations: 1.264 MB / 447.2 MB, free: 16.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.3664, allocations: 476 kB / 447.7 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.3666, allocations: 114 kB / 447.8 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3667, allocations: 42.62 kB / 447.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.825e-06/0.3667, allocations: 0.875 kB / 447.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003705/0.3704, allocations: 2.298 MB / 450.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3704, allocations: 82.52 kB / 450.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.3724, allocations: 1.503 MB / 451.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.3724, allocations: 36.92 kB / 451.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.373, allocations: 1 MB / 452.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3731, allocations: 206.6 kB / 453 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.3734, allocations: 246.7 kB / 453.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.3735, allocations: 356.3 kB / 453.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.3742, allocations: 456.2 kB / 454 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.3751, allocations: 1.088 MB / 455.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.3769, allocations: 1.625 MB / 456.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.3769, allocations: 14.19 kB / 456.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002536/0.3795, allocations: 1.689 MB / 458.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.3795, allocations: 14.19 kB / 458.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/0.3796, allocations: 27.44 kB / 458.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.3803, allocations: 185.1 kB / 458.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.3811, allocations: 280.6 kB / 458.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.3829, allocations: 2.373 MB / 461.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.384, allocations: 87.31 kB / 461.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.3841, allocations: 67.3 kB / 461.5 MB, free: 6.117 MB / 350.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.0009316/0.385, allocations: 0.6957 MB / 462.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.3852, allocations: 140.1 kB / 462.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3866, allocations: 0.8424 MB / 463.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3866, allocations: 4.125 kB / 463.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3866, allocations: 6.688 kB / 463.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3866, allocations: 3.984 kB / 463.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.3901, allocations: 2.49 MB / 465.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3901, allocations: 6.5 kB / 465.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3904, allocations: 99.81 kB / 465.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/0.391, allocations: 157 kB / 465.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3911, allocations: 15.98 kB / 465.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3926, allocations: 2.3 MB / 468.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3926, allocations: 8.031 kB / 468.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.3945, allocations: 1.321 MB / 469.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.3951, allocations: 284.2 kB / 469.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.3952, allocations: 19.98 kB / 469.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.3958, allocations: 51.97 kB / 469.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.396, allocations: 43.94 kB / 469.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.396, allocations: 20.88 kB / 469.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00148/0.3975, allocations: 1.04 MB / 471 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3975, allocations: 0 / 471 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001409/0.3989, allocations: 347.9 kB / 471.3 MB, free: 13.14 MB / 366.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.002808/0.4017, allocations: 1.961 MB / 473.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.4038, allocations: 1.159 MB / 474.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4038, allocations: 0 / 474.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.4047, allocations: 0.5098 MB / 475 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.4063, allocations: 362.1 kB / 475.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.4264, allocations: 13.92 MB / 489.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.4279, allocations: 1.7 MB / 490.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008708/0.4288, allocations: 323.8 kB / 491.2 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/0.4296, allocations: 0.6164 MB / 491.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4296, allocations: 4 kB / 491.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.5462, allocations: 33.76 MB / 0.5133 GB, free: 6.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.37, allocations: 12.62 kB / 0.5133 GB, free: 6.262 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.750285665970296]