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.0008726/0.0008726, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00103/0.00103, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9367/0.9367, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 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 1.402e-06/1.402e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.977e-05, allocations: 5.516 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004594/0.004614, allocations: 5.291 MB / 323.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.007882, allocations: 1.982 MB / 325.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.008412, allocations: 51.69 kB / 325.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.009226, allocations: 397.2 kB / 326.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.01041, allocations: 0.5938 MB / 326.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.01073, allocations: 215.7 kB / 326.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.01236, allocations: 2.294 MB / 329.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.01343, allocations: 1.131 MB / 330.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.01575, allocations: 1.566 MB / 331.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.01739, allocations: 1.087 MB / 333 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.01765, allocations: 288 kB / 333.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.01817, allocations: 367.8 kB / 333.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.01861, allocations: 0.7362 MB / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007659/0.01938, allocations: 0.8576 MB / 335.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.02209, allocations: 3.841 MB / 339.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.02209, allocations: 0 / 339.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0221, allocations: 0 / 339.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/0.02216, allocations: 0 / 339.1 MB, free: 1.566 MB / 298.7 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.003492/0.02565, allocations: 2.345 MB / 341.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.0257, allocations: 12.92 kB / 341.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002546/0.02595, allocations: 270.2 kB / 341.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.0264, allocations: 263.5 kB / 342 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.02809, allocations: 1.299 MB / 343.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.02816, allocations: 131.9 kB / 343.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.02835, allocations: 176.1 kB / 343.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.03158, allocations: 2.752 MB / 346.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.03161, allocations: 0 / 346.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.03172, allocations: 72 kB / 346.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/0.03179, allocations: 99.58 kB / 346.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.03426, allocations: 2.11 MB / 348.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007903/0.04216, allocations: 6.641 MB / 355.3 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/0.04303, allocations: 0.6971 MB / 355.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.04352, allocations: 451.1 kB / 356.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.04367, allocations: 40.47 kB / 356.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.0437, allocations: 39.06 kB / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.445e-06/0.0437, allocations: 0 / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002947/0.04665, allocations: 2.144 MB / 358.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.0467, allocations: 89.59 kB / 358.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.04825, allocations: 1.539 MB / 360.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.04829, allocations: 33.7 kB / 360.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.04901, allocations: 0.9977 MB / 361.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.04913, allocations: 210.3 kB / 361.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.04934, allocations: 234.8 kB / 361.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.04944, allocations: 357.9 kB / 362.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.04991, allocations: 454.3 kB / 362.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.05065, allocations: 1.127 MB / 363.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.05195, allocations: 1.616 MB / 365.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.05196, allocations: 8 kB / 365.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001947/0.05391, allocations: 1.689 MB / 366.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.05393, allocations: 16 kB / 367 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.05395, allocations: 20 kB / 367 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007312/0.05469, allocations: 181.1 kB / 367.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.05521, allocations: 295.5 kB / 367.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.05702, allocations: 2.23 MB / 369.7 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.05786, allocations: 87.81 kB / 369.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.05793, allocations: 68 kB / 369.8 MB, free: 1.566 MB / 330.7 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.000881/0.05881, allocations: 0.708 MB / 370.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.05902, allocations: 135.2 kB / 370.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/0.06002, allocations: 0.8504 MB / 371.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.06002, allocations: 4 kB / 371.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.06003, allocations: 7.938 kB / 371.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.06003, allocations: 0 / 371.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.06271, allocations: 2.318 MB / 373.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.06272, allocations: 4 kB / 373.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.06294, allocations: 99.88 kB / 373.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.06333, allocations: 157 kB / 374.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.06336, allocations: 16 kB / 374.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.06521, allocations: 2.176 MB / 376.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.06521, allocations: 12.09 kB / 376.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.06659, allocations: 1.312 MB / 377.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.06706, allocations: 215.1 kB / 377.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.06716, allocations: 24 kB / 377.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.06749, allocations: 39.97 kB / 377.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.06759, allocations: 51.86 kB / 377.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.06762, allocations: 20 kB / 378 MB, free: 9.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.06876, allocations: 1.036 MB / 379 MB, free: 8.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.06876, allocations: 0 / 379 MB, free: 8.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00106/0.06982, allocations: 359.9 kB / 379.3 MB, free: 7.762 MB / 346.7 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.001767/0.07158, allocations: 1.941 MB / 381.3 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.0733, allocations: 1.13 MB / 382.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.07331, allocations: 0.9375 kB / 382.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.07383, allocations: 0.4907 MB / 382.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.07496, allocations: 379.7 kB / 383.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.09277, allocations: 13.93 MB / 397.2 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.09363, allocations: 1.12 MB / 398.3 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006976/0.09433, allocations: 331.2 kB / 398.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.0949, allocations: 0.6136 MB / 399.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.0949, allocations: 3.938 kB / 399.3 MB, free: 2.848 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05681/0.1517, allocations: 36.13 MB / 435.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/7.996, allocations: 11.03 kB / 435.4 MB, free: 15.09 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.806010587140918]