Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001391/0.001391, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.00152/0.00152, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 55.06 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005644/0.2521, allocations: 5.901 MB / 402.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.2555, allocations: 2.15 MB / 404.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.2559, allocations: 47.16 kB / 404.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008569/0.2568, allocations: 402 kB / 404.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.258, allocations: 0.5873 MB / 405.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2584, allocations: 243.4 kB / 405.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.2603, allocations: 2.286 MB / 408 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.2615, allocations: 1.058 MB / 409 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.2636, allocations: 1.073 MB / 410.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.2657, allocations: 1.227 MB / 411.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.2661, allocations: 295.7 kB / 411.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.2669, allocations: 375.4 kB / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007147/0.2676, allocations: 0.7157 MB / 412.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.2691, allocations: 1.226 MB / 413.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.2733, allocations: 3.778 MB / 417.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2733, allocations: 1.094 kB / 417.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2733, allocations: 7.875 kB / 417.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.378e-05/0.2733, allocations: 0 / 417.7 MB, free: 11.51 MB / 334.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.004962/0.2783, allocations: 2.35 MB / 420 MB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2784, allocations: 14.3 kB / 420.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003862/0.2787, allocations: 278.2 kB / 420.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.2795, allocations: 260.9 kB / 420.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.2819, allocations: 1.188 MB / 421.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.282, allocations: 134.6 kB / 421.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.2822, allocations: 174.4 kB / 422.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.2865, allocations: 2.542 MB / 424.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.2865, allocations: 0 / 424.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.2867, allocations: 79.98 kB / 424.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.2868, allocations: 95.58 kB / 424.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.2903, allocations: 2.106 MB / 426.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.3021, allocations: 7.267 MB / 434.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3034, allocations: 0.6964 MB / 434.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.3041, allocations: 450.6 kB / 435.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.3043, allocations: 40.41 kB / 435.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3043, allocations: 35 kB / 435.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/0.3043, allocations: 0 / 435.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004269/0.3086, allocations: 2.141 MB / 437.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3087, allocations: 85.55 kB / 437.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.3109, allocations: 1.516 MB / 439.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.3109, allocations: 37.7 kB / 439.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007591/0.3117, allocations: 0.9978 MB / 440.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3118, allocations: 206.3 kB / 440.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.3122, allocations: 246.8 kB / 440.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3123, allocations: 345.9 kB / 440.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.313, allocations: 462.3 kB / 441.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3143, allocations: 1.091 MB / 442.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.3163, allocations: 1.619 MB / 444.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.3163, allocations: 8 kB / 444.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003076/0.3194, allocations: 1.687 MB / 445.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.3194, allocations: 16.59 kB / 445.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.3194, allocations: 24 kB / 445.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.3202, allocations: 180.6 kB / 446 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.3212, allocations: 283.5 kB / 446.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.3238, allocations: 2.261 MB / 448.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.325, allocations: 87.86 kB / 448.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3251, allocations: 71.98 kB / 448.7 MB, free: 13.7 MB / 366.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.00112/0.3262, allocations: 0.7039 MB / 449.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.3265, allocations: 139.2 kB / 449.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3279, allocations: 0.8411 MB / 450.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.328, allocations: 8 kB / 450.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.328, allocations: 0 / 450.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.328, allocations: 3.984 kB / 450.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.3321, allocations: 2.475 MB / 452.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3321, allocations: 4 kB / 452.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.3325, allocations: 91.88 kB / 453 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006442/0.3331, allocations: 157 kB / 453.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.3332, allocations: 11.98 kB / 453.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.3355, allocations: 2.207 MB / 455.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3355, allocations: 4 kB / 455.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.3375, allocations: 1.321 MB / 456.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.3381, allocations: 219.1 kB / 456.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.3382, allocations: 12 kB / 456.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.3388, allocations: 51.97 kB / 456.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3389, allocations: 51.84 kB / 457 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.339, allocations: 16 kB / 457 MB, free: 5.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.3405, allocations: 1.04 MB / 458 MB, free: 4.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3405, allocations: 4 kB / 458 MB, free: 4.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3418, allocations: 347.9 kB / 458.4 MB, free: 3.723 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.002581/0.3444, allocations: 1.949 MB / 460.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.3463, allocations: 1.117 MB / 461.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3463, allocations: 0 / 461.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.3471, allocations: 0.4885 MB / 461.9 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.3487, allocations: 380.4 kB / 462.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/0.3687, allocations: 13.93 MB / 476.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.3702, allocations: 1.706 MB / 477.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008735/0.3711, allocations: 323.3 kB / 478.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.3719, allocations: 0.6164 MB / 478.9 MB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3719, allocations: 0 / 478.9 MB, free: 14.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0794/0.4513, allocations: 34.97 MB / 0.5018 GB, free: 11.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.68, allocations: 8 kB / 0.5018 GB, free: 11.14 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.034280097999726]