Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8824/0.8824, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.012e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003003/0.003023, allocations: 3.014 MB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.004509, allocations: 1.23 MB / 322.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.004661, allocations: 8 kB / 322.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.004987, allocations: 150.9 kB / 322.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009541/0.005941, allocations: 441.4 kB / 323.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.00621, allocations: 167.4 kB / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.006644, allocations: 461.8 kB / 323.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.006839, allocations: 100.8 kB / 324 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.007106, allocations: 247.4 kB / 324.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.007281, allocations: 147.6 kB / 324.4 MB, free: 396 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.00732, allocations: 40 kB / 324.4 MB, free: 356 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.007546, allocations: 159.7 kB / 324.6 MB, free: 196 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.007592, allocations: 79.67 kB / 324.6 MB, free: 116 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.007698, allocations: 135.7 kB / 324.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.008179, allocations: 0.5451 MB / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008183, allocations: 0 / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008184, allocations: 0 / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.008189, allocations: 0 / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009212/0.00911, allocations: 0.6728 MB / 326 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.00915, allocations: 8.922 kB / 326 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.009207, allocations: 70.72 kB / 326.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.009533, allocations: 100.6 kB / 326.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.009875, allocations: 253.9 kB / 326.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.009896, allocations: 29.38 kB / 326.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.009941, allocations: 36.38 kB / 326.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.01036, allocations: 405.2 kB / 326.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.01037, allocations: 192 / 326.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.01039, allocations: 24.06 kB / 326.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.0104, allocations: 8 kB / 326.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.01072, allocations: 249.8 kB / 327.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01197, allocations: 1.173 MB / 328.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.01224, allocations: 185 kB / 328.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.01234, allocations: 77.69 kB / 328.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.0128, allocations: 0.5263 MB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.01282, allocations: 34.56 kB / 329.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.01282, allocations: 0 / 329.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00036/0.01318, allocations: 225.4 kB / 329.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.01322, allocations: 81.11 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.01346, allocations: 296.2 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.01348, allocations: 29.7 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01361, allocations: 244 kB / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.01375, allocations: 63.44 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.01382, allocations: 69.91 kB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.0139, allocations: 338.8 kB / 330.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.014, allocations: 64.62 kB / 330.5 MB, free: 9.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.01414, allocations: 206.3 kB / 330.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.01441, allocations: 292.9 kB / 331 MB, free: 9.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01441, allocations: 0 / 331 MB, free: 9.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003287/0.01474, allocations: 317.1 kB / 331.3 MB, free: 9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01476, allocations: 11.98 kB / 331.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01476, allocations: 4 kB / 331.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.01478, allocations: 8 kB / 331.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01495, allocations: 75.91 kB / 331.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.01496, allocations: 20.27 kB / 331.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01506, allocations: 39.72 kB / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01508, allocations: 12.25 kB / 331.5 MB, free: 8.832 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001018/0.01518, allocations: 153.7 kB / 331.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01522, allocations: 31.81 kB / 331.7 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.01526, allocations: 29.78 kB / 331.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01527, allocations: 4 kB / 331.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01527, allocations: 7.938 kB / 331.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01528, allocations: 7.922 kB / 331.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.01573, allocations: 466.3 kB / 332.2 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01573, allocations: 0 / 332.2 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.01585, allocations: 43.92 kB / 332.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01586, allocations: 0 / 332.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01587, allocations: 15.92 kB / 332.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01588, allocations: 0 / 332.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01588, allocations: 0 / 332.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.01623, allocations: 426.1 kB / 332.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.01626, allocations: 23.83 kB / 332.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.01629, allocations: 11.94 kB / 332.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01639, allocations: 11.98 kB / 332.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01643, allocations: 15.97 kB / 332.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.01644, allocations: 4 kB / 332.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.01657, allocations: 199.1 kB / 332.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01657, allocations: 0 / 332.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.01686, allocations: 83.84 kB / 333 MB, free: 7.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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.0005698/0.01743, allocations: 0.97 MB / 333.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01769, allocations: 187.8 kB / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01769, allocations: 0 / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.01777, allocations: 67.91 kB / 334.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.01807, allocations: 29.42 kB / 334.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.02084, allocations: 3.052 MB / 337.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.02096, allocations: 165.1 kB / 337.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.403e-05/0.02106, allocations: 38.95 kB / 337.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.02117, allocations: 108.5 kB / 337.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02117, allocations: 0 / 337.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.0436, allocations: 6.242 MB / 343.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.188, allocations: 18.45 kB / 343.8 MB, free: 12.3 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 9.051536322571337]