Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",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.001256/0.001256, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001358/0.001358, allocations: 185 kB / 18.72 MB, free: 4.332 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 71.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3316, allocations: 60.81 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003111/0.3347, allocations: 2.474 MB / 0.5208 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.336, allocations: 1.043 MB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.3361, allocations: 4.531 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3372, allocations: 0.496 MB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3374, allocations: 111.4 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.3384, allocations: 0.6336 MB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3387, allocations: 226.5 kB / 0.5233 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.3391, allocations: 199.7 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3392, allocations: 98.33 kB / 0.5236 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3394, allocations: 124.8 kB / 0.5237 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3394, allocations: 22.81 kB / 0.5237 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.3397, allocations: 139.6 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.3398, allocations: 53.17 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3399, allocations: 113.2 kB / 0.524 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.3404, allocations: 406.7 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3404, allocations: 4.656 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3404, allocations: 0 / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3404, allocations: 0 / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001301/0.3417, allocations: 0.6209 MB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3418, allocations: 11.36 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.3418, allocations: 59.59 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.3421, allocations: 55.59 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3423, allocations: 193.5 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3423, allocations: 22.5 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.3424, allocations: 23.69 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.343, allocations: 286.2 kB / 0.5256 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.343, allocations: 6.25 kB / 0.5256 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.343, allocations: 14.75 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.343, allocations: 5.5 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.3436, allocations: 232.8 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3451, allocations: 0.9946 MB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3457, allocations: 353.9 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.346, allocations: 129.9 kB / 0.5273 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3461, allocations: 83.05 kB / 0.5274 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3461, allocations: 40.67 kB / 0.5274 GB, free: 13.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.3462, allocations: 0 / 0.5274 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001197/0.3473, allocations: 0.4951 MB / 0.5279 GB, free: 12.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3474, allocations: 83.98 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3475, allocations: 141.1 kB / 0.5281 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3475, allocations: 27.08 kB / 0.5281 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.3476, allocations: 149.9 kB / 0.5283 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.3477, allocations: 71.61 kB / 0.5283 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.3478, allocations: 42.02 kB / 0.5284 GB, free: 12.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3479, allocations: 325.6 kB / 0.5287 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3481, allocations: 69.08 kB / 0.5288 GB, free: 11.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.3484, allocations: 119.8 kB / 0.5289 GB, free: 11.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3488, allocations: 203.2 kB / 0.5291 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3488, allocations: 1.25 kB / 0.5291 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006317/0.3495, allocations: 280.7 kB / 0.5293 GB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3495, allocations: 10.5 kB / 0.5293 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3495, allocations: 1.344 kB / 0.5293 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.3497, allocations: 61.23 kB / 0.5294 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3499, allocations: 42.41 kB / 0.5294 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.3522, allocations: 2.843 MB / 0.5322 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3523, allocations: 23.56 kB / 0.5322 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.3524, allocations: 13.84 kB / 0.5323 GB, free: 8.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.3525, allocations: 138.8 kB / 0.5324 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.3526, allocations: 18.8 kB / 0.5324 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.3532, allocations: 263 kB / 0.5327 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3532, allocations: 1.5 kB / 0.5327 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3533, allocations: 2.562 kB / 0.5327 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3533, allocations: 0 / 0.5327 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3544, allocations: 0.6523 MB / 0.5333 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3544, allocations: 1.219 kB / 0.5333 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.3546, allocations: 37.19 kB / 0.5333 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.3547, allocations: 47.36 kB / 0.5334 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3547, allocations: 5.938 kB / 0.5334 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.3569, allocations: 2.843 MB / 0.5362 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3569, allocations: 5.094 kB / 0.5362 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.3578, allocations: 0.5092 MB / 0.5367 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.3579, allocations: 94.11 kB / 0.5368 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3579, allocations: 6.75 kB / 0.5368 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3581, allocations: 19.86 kB / 0.5368 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.3581, allocations: 24.59 kB / 0.5368 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3581, allocations: 5.375 kB / 0.5368 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.3582, allocations: 104 kB / 0.5369 GB, free: 4.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 0.5369 GB, free: 4.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.3587, allocations: 70.8 kB / 0.537 GB, free: 4.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.36, allocations: 1.084 MB / 0.538 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007803/0.3608, allocations: 414 kB / 0.5384 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3608, allocations: 0 / 0.5384 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.3612, allocations: 319.8 kB / 0.5387 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3616, allocations: 13.5 kB / 0.5387 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.365, allocations: 2.373 MB / 0.5411 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3654, allocations: 0.7336 MB / 0.5418 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.031e-05/0.3655, allocations: 11.69 kB / 0.5418 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.3656, allocations: 62.59 kB / 0.5419 GB, free: 15.72 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3656, allocations: 0 / 0.5419 GB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.4086, allocations: 4.372 MB / 0.5461 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.49, allocations: 13.38 kB / 0.5461 GB, free: 13.51 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches