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.001818/0.001818, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002238/0.002238, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001505/0.001505, allocations: 47.92 kB / 377.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2377, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00766/0.2454, allocations: 5.31 MB / 436.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.2494, allocations: 2.037 MB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.25, allocations: 47.69 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2511, allocations: 390.4 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.2527, allocations: 0.5827 MB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.2531, allocations: 235.7 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.2557, allocations: 2.225 MB / 441.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.2574, allocations: 1.155 MB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.2596, allocations: 1.075 MB / 444.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.2614, allocations: 1.245 MB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.2619, allocations: 288 kB / 445.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.2626, allocations: 379.8 kB / 446 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.2633, allocations: 0.7051 MB / 446.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.2645, allocations: 0.996 MB / 447.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.2685, allocations: 3.823 MB / 451.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2685, allocations: 0 / 451.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2685, allocations: 0 / 451.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.633e-05/0.2686, allocations: 0 / 451.6 MB, free: 2.027 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.004808/0.2734, allocations: 2.377 MB / 453.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2734, allocations: 8.031 kB / 453.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003994/0.2738, allocations: 270.2 kB / 454.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009065/0.2748, allocations: 287.5 kB / 454.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.2774, allocations: 1.323 MB / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2775, allocations: 131.5 kB / 455.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.2779, allocations: 183.9 kB / 456.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.2823, allocations: 2.744 MB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.2824, allocations: 0 / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.2825, allocations: 72 kB / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.2827, allocations: 103.5 kB / 459 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.2863, allocations: 2.099 MB / 461.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.2983, allocations: 6.64 MB / 467.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.2996, allocations: 0.709 MB / 468.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.3003, allocations: 438.7 kB / 468.9 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.3005, allocations: 40.41 kB / 468.9 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3005, allocations: 46.98 kB / 469 MB, free: 172 kB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.345e-06/0.3005, allocations: 0 / 469 MB, free: 172 kB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004902/0.3054, allocations: 2.141 MB / 471.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.3055, allocations: 81.55 kB / 471.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.3081, allocations: 1.563 MB / 472.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.3082, allocations: 37.7 kB / 472.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.309, allocations: 0.9978 MB / 473.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.3092, allocations: 206.4 kB / 474 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.3096, allocations: 242.7 kB / 474.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3098, allocations: 357.9 kB / 474.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.3106, allocations: 454.3 kB / 475 MB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.312, allocations: 1.12 MB / 476.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.3141, allocations: 1.619 MB / 477.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.3141, allocations: 4 kB / 477.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003018/0.3171, allocations: 1.695 MB / 479.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.3172, allocations: 16 kB / 479.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-05/0.3172, allocations: 24 kB / 479.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.318, allocations: 173 kB / 479.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.3188, allocations: 291.5 kB / 480 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.3214, allocations: 2.234 MB / 482.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3224, allocations: 83.83 kB / 482.3 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3226, allocations: 67.98 kB / 482.4 MB, free: 1.949 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.001067/0.3236, allocations: 0.7117 MB / 483.1 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.3239, allocations: 143.1 kB / 483.2 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.3254, allocations: 0.8296 MB / 484 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3254, allocations: 4 kB / 484 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3254, allocations: 4 kB / 484 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3254, allocations: 3.984 kB / 484 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.3295, allocations: 2.327 MB / 486.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3295, allocations: 7.938 kB / 486.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3299, allocations: 95.88 kB / 486.5 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006209/0.3305, allocations: 152.8 kB / 486.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3306, allocations: 19.98 kB / 486.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.333, allocations: 2.188 MB / 488.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.333, allocations: 11.92 kB / 488.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.3351, allocations: 1.321 MB / 490.2 MB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.3357, allocations: 215.1 kB / 490.4 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.3358, allocations: 15.98 kB / 490.4 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.3364, allocations: 44.03 kB / 490.4 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3366, allocations: 59.8 kB / 490.5 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.3366, allocations: 20 kB / 490.5 MB, free: 9.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001566/0.3382, allocations: 1.044 MB / 491.6 MB, free: 8.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3382, allocations: 0 / 491.6 MB, free: 8.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001361/0.3395, allocations: 344 kB / 491.9 MB, free: 8.129 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.002773/0.3423, allocations: 1.951 MB / 493.8 MB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.3443, allocations: 1.117 MB / 495 MB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3443, allocations: 0 / 495 MB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008663/0.3452, allocations: 0.4996 MB / 495.5 MB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.3469, allocations: 377.8 kB / 495.8 MB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/0.3682, allocations: 13.95 MB / 0.4978 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.3695, allocations: 1.124 MB / 0.4989 GB, free: 4.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009233/0.3705, allocations: 323.3 kB / 0.4992 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/0.3713, allocations: 0.6203 MB / 0.4998 GB, free: 3.188 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3713, allocations: 0 / 0.4998 GB, free: 3.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2601/0.6315, allocations: 36.81 MB / 0.5358 GB, free: 99.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.15, allocations: 3.531 kB / 0.5358 GB, free: 99.82 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.63661967398366]