Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001902/0.001902, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002305/0.002305, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.92 MB / 360.8 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3165, allocations: 66.09 MB / 0.5607 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003263/0.3198, allocations: 1.736 MB / 0.5624 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.32, allocations: 91.64 kB / 0.5625 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.32, allocations: 4 kB / 0.5625 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.3201, allocations: 11.86 kB / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.3202, allocations: 23.78 kB / 0.5625 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.3203, allocations: 35.89 kB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3204, allocations: 99.64 kB / 0.5627 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3206, allocations: 45.8 kB / 0.5627 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.3207, allocations: 43.86 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.3208, allocations: 51.77 kB / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3208, allocations: 12 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.3208, allocations: 12 kB / 0.5628 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.3208, allocations: 23.91 kB / 0.5628 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.3209, allocations: 55.73 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3211, allocations: 107.6 kB / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3211, allocations: 0 / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3211, allocations: 0 / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3211, allocations: 11.94 kB / 0.563 GB, free: 1.91 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.0006518/0.3217, allocations: 341.9 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3218, allocations: 8.031 kB / 0.5633 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.3218, allocations: 50.67 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.3219, allocations: 12.89 kB / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.322, allocations: 122.4 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.322, allocations: 8.375 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.322, allocations: 16.31 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.3224, allocations: 118.2 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3224, allocations: 3.938 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3224, allocations: 4 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3224, allocations: 7.984 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3228, allocations: 107.8 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.3236, allocations: 438.5 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3238, allocations: 82.47 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3241, allocations: 64.94 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3241, allocations: 0 / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3241, allocations: 34.5 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3241, allocations: 0 / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007937/0.3249, allocations: 194.3 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.325, allocations: 51.41 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3251, allocations: 121.9 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3251, allocations: 25.7 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3252, allocations: 112.2 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3252, allocations: 23.8 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3253, allocations: 17.72 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3254, allocations: 314.8 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3256, allocations: 39.95 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3257, allocations: 58.55 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.3261, allocations: 98.38 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3261, allocations: 0 / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004098/0.3265, allocations: 146.4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3265, allocations: 4 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3265, allocations: 320 / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.3266, allocations: 24.84 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3268, allocations: 31.97 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.328, allocations: 1.303 MB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3281, allocations: 23.89 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3281, allocations: 0 / 0.5669 GB, free: 13.59 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.0001032/0.3282, allocations: 114.9 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3282, allocations: 11.89 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.3282, allocations: 12.38 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3282, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3282, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3282, allocations: 8.047 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.3289, allocations: 391.2 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3289, allocations: 3.938 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.329, allocations: 15.98 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/0.3291, allocations: 24.88 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3291, allocations: 8 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.3301, allocations: 1.303 MB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3302, allocations: 160 / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.3306, allocations: 241.1 kB / 0.5689 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.3306, allocations: 11.95 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3306, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3308, allocations: 11.98 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3308, allocations: 11.98 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3308, allocations: 3.984 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.3309, allocations: 95.22 kB / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3312, allocations: 35.89 kB / 0.5691 GB, free: 11.11 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.0007938/0.332, allocations: 0.7609 MB / 0.5698 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.3325, allocations: 198.5 kB / 0.57 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3325, allocations: 0 / 0.57 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.3328, allocations: 166.8 kB / 0.5702 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3331, allocations: 14.28 kB / 0.5702 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3354, allocations: 1.613 MB / 0.5718 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3358, allocations: 0.7001 MB / 0.5725 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.3358, allocations: 3.75 kB / 0.5725 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.3359, allocations: 27.42 kB / 0.5725 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3359, allocations: 288 / 0.5725 GB, free: 7.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.3677, allocations: 2.459 MB / 0.5749 GB, free: 5.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 7.438 kB / 0.5749 GB, free: 5.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.882295870003873]