Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001392/0.001392, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001467/0.001467, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.235, allocations: 53.41 MB / 431.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007451/0.2424, allocations: 5.342 MB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.2464, allocations: 2.033 MB / 438.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006368/0.2471, allocations: 47.69 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.2481, allocations: 393.4 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.2496, allocations: 0.6022 MB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.25, allocations: 227.7 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002421/0.2524, allocations: 2.241 MB / 442 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.2543, allocations: 1.127 MB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.2565, allocations: 1.093 MB / 444.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.2582, allocations: 1.206 MB / 445.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.2586, allocations: 288 kB / 445.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.2593, allocations: 375.8 kB / 446.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.26, allocations: 0.7284 MB / 446.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.2612, allocations: 0.996 MB / 447.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.2652, allocations: 3.843 MB / 451.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2652, allocations: 0 / 451.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2652, allocations: 0 / 451.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.851e-05/0.2653, allocations: 0 / 451.7 MB, free: 1.836 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.004647/0.2699, allocations: 2.384 MB / 454 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.27, allocations: 11.98 kB / 454.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.2703, allocations: 274.3 kB / 454.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.2712, allocations: 295.5 kB / 454.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.2736, allocations: 1.319 MB / 455.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2737, allocations: 133.2 kB / 456.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.274, allocations: 175.9 kB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.2782, allocations: 2.78 MB / 459 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.2782, allocations: 0 / 459 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.2784, allocations: 79.92 kB / 459.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.2785, allocations: 111.6 kB / 459.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/0.282, allocations: 2.126 MB / 461.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.2931, allocations: 6.675 MB / 468 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.2944, allocations: 0.7072 MB / 468.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.2952, allocations: 443.3 kB / 469.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.2953, allocations: 40.41 kB / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.2954, allocations: 39 kB / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.2954, allocations: 0 / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004194/0.2996, allocations: 2.141 MB / 471.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.2997, allocations: 81.55 kB / 471.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.3021, allocations: 1.571 MB / 473 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.3022, allocations: 33.7 kB / 473 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.303, allocations: 1.017 MB / 474.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.3032, allocations: 206.4 kB / 474.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.3035, allocations: 238.8 kB / 474.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3037, allocations: 361.9 kB / 474.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.3045, allocations: 458.3 kB / 475.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.3058, allocations: 1.141 MB / 476.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.308, allocations: 1.636 MB / 478.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.308, allocations: 4 kB / 478.1 MB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002836/0.3109, allocations: 1.707 MB / 479.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3109, allocations: 19.94 kB / 479.8 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3109, allocations: 24.53 kB / 479.8 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007148/0.3116, allocations: 180.7 kB / 480 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.3125, allocations: 283.5 kB / 480.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.315, allocations: 2.242 MB / 482.5 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3161, allocations: 91.81 kB / 482.6 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/0.3162, allocations: 68 kB / 482.7 MB, free: 1.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.001046/0.3172, allocations: 0.7156 MB / 483.4 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.3174, allocations: 139.2 kB / 483.5 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.319, allocations: 0.8374 MB / 484.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.319, allocations: 4 kB / 484.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.319, allocations: 4 kB / 484.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.319, allocations: 3.984 kB / 484.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.3229, allocations: 2.339 MB / 486.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3229, allocations: 4 kB / 486.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.3233, allocations: 96.17 kB / 486.8 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/0.3239, allocations: 160.8 kB / 487 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.324, allocations: 12 kB / 487 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.3263, allocations: 2.191 MB / 489.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3263, allocations: 0 / 489.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.3284, allocations: 1.318 MB / 490.5 MB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/0.3289, allocations: 223.2 kB / 490.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.3291, allocations: 15.98 kB / 490.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.3297, allocations: 47.95 kB / 490.8 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3298, allocations: 51.86 kB / 490.8 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3298, allocations: 23.98 kB / 490.8 MB, free: 9.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.3313, allocations: 1.044 MB / 491.9 MB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3313, allocations: 4 kB / 491.9 MB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001326/0.3326, allocations: 352 kB / 492.2 MB, free: 7.66 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.002701/0.3353, allocations: 1.958 MB / 494.2 MB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3374, allocations: 1.138 MB / 495.3 MB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3374, allocations: 0 / 495.3 MB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.3382, allocations: 498.3 kB / 495.8 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3398, allocations: 372.7 kB / 496.2 MB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.3607, allocations: 14.04 MB / 0.4983 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.3622, allocations: 1.136 MB / 0.4994 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009546/0.3631, allocations: 327.4 kB / 0.4997 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/0.364, allocations: 0.6203 MB / 0.5003 GB, free: 2.602 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.364, allocations: 0 / 0.5003 GB, free: 2.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.258/0.6219, allocations: 36.39 MB / 0.5358 GB, free: 99.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.22, allocations: 13.73 kB / 0.5358 GB, free: 99.54 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.645646010991186]