Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001904/0.001904, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002462/0.002462, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00297/0.00297, allocations: 63.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4182, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003237/0.4215, allocations: 1.697 MB / 0.5622 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002294/0.4217, allocations: 83.66 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.4218, allocations: 4 kB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.331e-05/0.4218, allocations: 11.86 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.4219, allocations: 23.78 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.4221, allocations: 35.95 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.4222, allocations: 107.6 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.4224, allocations: 37.8 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.4225, allocations: 43.84 kB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.4226, allocations: 39.78 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.4227, allocations: 12 kB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.4227, allocations: 12 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.4227, allocations: 31.89 kB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.4228, allocations: 43.8 kB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.4229, allocations: 111.5 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4229, allocations: 4 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.423, allocations: 0 / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.423, allocations: 0 / 0.5628 GB, free: 1.918 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006426/0.4236, allocations: 345.9 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4236, allocations: 8.031 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.4237, allocations: 46.73 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4237, allocations: 8.891 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.4239, allocations: 122.4 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4239, allocations: 12.38 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.4239, allocations: 8.375 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.4243, allocations: 127.7 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4243, allocations: 11.88 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4243, allocations: 4 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4243, allocations: 0 / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.4247, allocations: 111.8 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.4254, allocations: 418.6 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.4257, allocations: 74.53 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.4259, allocations: 68.92 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.426, allocations: 4 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.426, allocations: 38.44 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.426, allocations: 0 / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008208/0.4268, allocations: 186.4 kB / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.4269, allocations: 55.34 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.427, allocations: 117.8 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.427, allocations: 33.7 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.4271, allocations: 104.2 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.4271, allocations: 23.78 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.4272, allocations: 21.72 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4273, allocations: 314.8 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.4275, allocations: 39.95 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4276, allocations: 58.53 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.428, allocations: 102.4 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.428, allocations: 0 / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004237/0.4284, allocations: 146.4 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4284, allocations: 8 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4284, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.4286, allocations: 28.78 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4287, allocations: 15.98 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4299, allocations: 1.299 MB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.43, allocations: 19.95 kB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.43, allocations: 320 / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4301, allocations: 117.8 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4301, allocations: 11.83 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.4301, allocations: 16.31 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4301, allocations: 4.062 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4301, allocations: 4 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4301, allocations: 3.984 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.4309, allocations: 383.2 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4309, allocations: 0 / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.4309, allocations: 15.98 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-05/0.431, allocations: 28.88 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.431, allocations: 0 / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4321, allocations: 1.295 MB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4321, allocations: 3.984 kB / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.4325, allocations: 241.1 kB / 0.5687 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.4325, allocations: 11.95 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.4325, allocations: 4 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.4327, allocations: 11.98 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.4327, allocations: 7.984 kB / 0.5687 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4327, allocations: 4 kB / 0.5687 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.4328, allocations: 99.2 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4328, allocations: 0 / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.4331, allocations: 27.89 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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,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.0008455/0.4339, allocations: 0.7689 MB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005567/0.4345, allocations: 206.5 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4345, allocations: 4.125 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.4347, allocations: 154.6 kB / 0.57 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.4351, allocations: 7.938 kB / 0.57 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.4373, allocations: 1.606 MB / 0.5715 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.4374, allocations: 89.31 kB / 0.5716 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.4375, allocations: 3.75 kB / 0.5716 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.4375, allocations: 31.42 kB / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4375, allocations: 0 / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4683, allocations: 2.93 MB / 0.5745 GB, free: 5.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.11, allocations: 19.06 kB / 0.5745 GB, free: 5.312 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.319380887784064]