Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001675/0.001675, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001907/0.001907, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 42.41 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.01294/0.1649, allocations: 5.607 MB / 355.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.1711, allocations: 1.799 MB / 357.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1725, allocations: 23.94 kB / 357.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.1788, allocations: 1.617 MB / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.1822, allocations: 0.7571 MB / 360 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1835, allocations: 275.4 kB / 360.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1854, allocations: 0.8055 MB / 361 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.188, allocations: 0.8684 MB / 361.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000847/0.1889, allocations: 346.7 kB / 362.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.19, allocations: 490.2 kB / 362.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.1904, allocations: 83.98 kB / 362.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1915, allocations: 243.8 kB / 363.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.1919, allocations: 179.4 kB / 363.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.1927, allocations: 429.9 kB / 363.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.1953, allocations: 1.156 MB / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1953, allocations: 0 / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1954, allocations: 0 / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.1954, allocations: 0 / 364.8 MB, free: 5.605 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006658/0.2021, allocations: 1.35 MB / 366.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.2022, allocations: 8.031 kB / 366.2 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003381/0.2025, allocations: 152.2 kB / 366.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009612/0.2122, allocations: 0.6517 MB / 367 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2137, allocations: 417.7 kB / 367.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.2138, allocations: 70.38 kB / 367.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.2143, allocations: 96.38 kB / 367.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/0.2181, allocations: 0.986 MB / 368.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.2182, allocations: 0 / 368.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2184, allocations: 44 kB / 368.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.2185, allocations: 24 kB / 368.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.2219, allocations: 0.9252 MB / 369.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2696/0.4916, allocations: 3.37 MB / 372.9 MB, free: 23.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.4956, allocations: 2.237 MB / 375.1 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008931/0.4965, allocations: 293.5 kB / 375.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.4967, allocations: 96.36 kB / 375.5 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.4968, allocations: 43.64 kB / 375.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 5.17e-06/0.4968, allocations: 0 / 375.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.002393/0.4992, allocations: 0.7188 MB / 376.3 MB, free: 20.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.4993, allocations: 114 kB / 376.4 MB, free: 20.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.4998, allocations: 270.3 kB / 376.6 MB, free: 20.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.4999, allocations: 36.45 kB / 376.7 MB, free: 20.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.5002, allocations: 374 kB / 377 MB, free: 20.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.5005, allocations: 227.6 kB / 377.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.5008, allocations: 136.2 kB / 377.4 MB, free: 20.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5009, allocations: 349.5 kB / 377.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/0.5017, allocations: 225.1 kB / 378 MB, free: 19.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009584/0.5027, allocations: 441.8 kB / 378.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.5043, allocations: 0.6973 MB / 379.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.5044, allocations: 2.75 kB / 379.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002226/0.5066, allocations: 0.7449 MB / 379.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5066, allocations: 9.484 kB / 379.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.5067, allocations: 7.031 kB / 379.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.818e-05/0.5067, allocations: 11 kB / 379.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.5081, allocations: 193.5 kB / 380 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/0.5081, allocations: 15.95 kB / 380.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.5089, allocations: 83.62 kB / 380.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/0.509, allocations: 37.8 kB / 380.2 MB, free: 18.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.5095, allocations: 215.2 kB / 380.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5097, allocations: 38.72 kB / 380.4 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.5117, allocations: 0.6525 MB / 381.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.5117, allocations: 10.06 kB / 381.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.5118, allocations: 1.406 kB / 381.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.5118, allocations: 13.11 kB / 381.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.5157, allocations: 1.476 MB / 382.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5157, allocations: 1.156 kB / 382.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.5168, allocations: 139 kB / 382.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.5169, allocations: 5.562 kB / 382.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.5169, allocations: 16.33 kB / 382.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.739e-06/0.517, allocations: 5.328 kB / 382.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.517, allocations: 6.469 kB / 382.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.5196, allocations: 1.121 MB / 383.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5198, allocations: 119.3 kB / 384 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5199, allocations: 17.39 kB / 384 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.5206, allocations: 20.34 kB / 384 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5208, allocations: 46.05 kB / 384.1 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.5209, allocations: 19.05 kB / 384.1 MB, free: 16.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.5212, allocations: 188.3 kB / 384.3 MB, free: 16.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5212, allocations: 0 / 384.3 MB, free: 16.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00141/0.5226, allocations: 230.9 kB / 384.5 MB, free: 16.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003102/0.5257, allocations: 1.708 MB / 386.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.5283, allocations: 0.6431 MB / 386.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5283, allocations: 0 / 386.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.5292, allocations: 301.3 kB / 387.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5304, allocations: 42.53 kB / 387.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.541, allocations: 4.847 MB / 392 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.5416, allocations: 0.8999 MB / 392.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007623/0.5424, allocations: 84.42 kB / 393 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.5429, allocations: 253.8 kB / 393.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5429, allocations: 4 kB / 393.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/0.5914, allocations: 9.337 MB / 402.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.5, allocations: 4.062 kB / 402.6 MB, free: 4.727 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches