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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 103.8 kB / 16.92 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009855, allocations: 54.89 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07684, allocations: 49.44 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006452/0.08332, allocations: 5.902 MB / 356.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.08631, allocations: 2.064 MB / 358.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.08666, allocations: 43.81 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.08748, allocations: 393.4 kB / 358.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.08852, allocations: 0.5476 MB / 359.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.08887, allocations: 219.7 kB / 359.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.0906, allocations: 2.198 MB / 361.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.09274, allocations: 2.22 MB / 363.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.09429, allocations: 1.051 MB / 364.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.09555, allocations: 1.21 MB / 366 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.09589, allocations: 288 kB / 366.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.0965, allocations: 375.8 kB / 366.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.09707, allocations: 0.709 MB / 367.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.09816, allocations: 1.225 MB / 368.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1362/0.2343, allocations: 3.733 MB / 372.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2344, allocations: 6.938 kB / 372.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2344, allocations: 0.6562 kB / 372.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.836e-05/0.2345, allocations: 0 / 372.3 MB, free: 15.68 MB / 302.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.0045/0.239, allocations: 2.384 MB / 374.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.239, allocations: 13.86 kB / 374.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.2394, allocations: 270.8 kB / 375 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.2401, allocations: 250.6 kB / 375.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.2419, allocations: 1.303 MB / 376.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.242, allocations: 130.6 kB / 376.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.2422, allocations: 180.8 kB / 376.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.246, allocations: 2.549 MB / 379.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.246, allocations: 1.078 kB / 379.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.2462, allocations: 74.98 kB / 379.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.531e-05/0.2463, allocations: 98.56 kB / 379.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.2495, allocations: 2.107 MB / 381.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008838/0.2583, allocations: 7.446 MB / 389.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2595, allocations: 1.261 MB / 390.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.2601, allocations: 474 kB / 390.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.2603, allocations: 120 kB / 391 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2604, allocations: 40.06 kB / 391 MB, free: 6.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.094e-06/0.2604, allocations: 0 / 391 MB, free: 6.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003367/0.2638, allocations: 2.262 MB / 393.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2638, allocations: 84.42 kB / 393.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.2655, allocations: 1.506 MB / 394.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2655, allocations: 32.45 kB / 394.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.266, allocations: 0.9722 MB / 395.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.2661, allocations: 196.1 kB / 396 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.2663, allocations: 237.9 kB / 396.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.2664, allocations: 360.9 kB / 396.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.267, allocations: 451 kB / 397.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.2678, allocations: 1.101 MB / 398.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.2691, allocations: 1.623 MB / 399.8 MB, free: 292 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.2691, allocations: 7.656 kB / 399.8 MB, free: 292 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002242/0.2714, allocations: 1.677 MB / 401.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.2714, allocations: 23.67 kB / 401.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.2714, allocations: 22.47 kB / 401.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.2721, allocations: 177.8 kB / 401.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.273, allocations: 280 kB / 402 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.2753, allocations: 2.372 MB / 404.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/0.2763, allocations: 87.67 kB / 404.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2764, allocations: 68 kB / 404.5 MB, free: 12.68 MB / 318.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.0008909/0.2773, allocations: 0.7165 MB / 405.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.2775, allocations: 130.4 kB / 405.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2789, allocations: 0.8354 MB / 406.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2789, allocations: 8 kB / 406.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.279, allocations: 4 kB / 406.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.279, allocations: 3.984 kB / 406.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.2827, allocations: 2.499 MB / 408.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2827, allocations: 4 kB / 408.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.2831, allocations: 93.47 kB / 408.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/0.2837, allocations: 155.8 kB / 408.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.2837, allocations: 16 kB / 408.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.2859, allocations: 2.309 MB / 411.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2859, allocations: 64 / 411.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.2877, allocations: 1.32 MB / 412.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.2882, allocations: 283.5 kB / 412.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.2884, allocations: 12 kB / 412.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.289, allocations: 47.95 kB / 412.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2891, allocations: 50.81 kB / 413 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.2892, allocations: 19.94 kB / 413 MB, free: 3.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001335/0.2905, allocations: 1.036 MB / 414 MB, free: 2.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2905, allocations: 4 kB / 414 MB, free: 2.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001283/0.2918, allocations: 348 kB / 414.4 MB, free: 2.578 MB / 318.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.002327/0.2941, allocations: 1.956 MB / 416.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.2961, allocations: 1.245 MB / 417.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2961, allocations: 448 / 417.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.2969, allocations: 0.512 MB / 418.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.2983, allocations: 370.7 kB / 418.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.3169, allocations: 15.02 MB / 433.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.3182, allocations: 1.702 MB / 435.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009309/0.3192, allocations: 327.2 kB / 435.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/0.32, allocations: 0.6164 MB / 436.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.32, allocations: 0 / 436.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0992/0.4192, allocations: 33.06 MB / 469.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.508/9.927, allocations: 0 / 469.1 MB, free: 11.09 MB / 382.1 MB (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches