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.001853/0.001853, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002398/0.002398, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2302/0.2302, allocations: 46.92 MB / 360.9 MB, free: 4.277 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.002102/0.002102, allocations: 71.88 kB / 0.4961 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 66.03 MB / 0.5606 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003318/0.3268, allocations: 1.745 MB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000184/0.327, allocations: 87.7 kB / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.327, allocations: 0 / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.3271, allocations: 15.86 kB / 0.5624 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.3272, allocations: 27.67 kB / 0.5625 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.3273, allocations: 31.95 kB / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3274, allocations: 99.7 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3276, allocations: 49.72 kB / 0.5626 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3277, allocations: 43.91 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.3277, allocations: 47.78 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3278, allocations: 12 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.3278, allocations: 8 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3278, allocations: 27.86 kB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.3279, allocations: 55.72 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.3281, allocations: 119.6 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3281, allocations: 0 / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3281, allocations: 0 / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3281, allocations: 0 / 0.5629 GB, free: 2.098 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.0006561/0.3287, allocations: 345.9 kB / 0.5633 GB, free: 1.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3288, allocations: 11.97 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.3288, allocations: 42.73 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.3288, allocations: 12.89 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.329, allocations: 118.4 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.329, allocations: 8.375 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.329, allocations: 16.36 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.3293, allocations: 115.8 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3294, allocations: 7.875 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3294, allocations: 11.98 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3294, allocations: 0 / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.3297, allocations: 111.8 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.3306, allocations: 446.4 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.3308, allocations: 78.53 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.331, allocations: 56.94 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3311, allocations: 4 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3311, allocations: 34.5 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3311, allocations: 0 / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008238/0.3319, allocations: 190.3 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.332, allocations: 51.41 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3321, allocations: 125.8 kB / 0.5646 GB, free: 176 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3321, allocations: 25.7 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.3322, allocations: 112.2 kB / 0.5648 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3322, allocations: 19.8 kB / 0.5648 GB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.3323, allocations: 21.72 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3324, allocations: 318.8 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3326, allocations: 39.95 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3328, allocations: 54.55 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.3331, allocations: 106.6 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3331, allocations: 0 / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004319/0.3335, allocations: 146.4 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3335, allocations: 4 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3335, allocations: 0 / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.3337, allocations: 32.84 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3338, allocations: 23.91 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3351, allocations: 1.299 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.3352, allocations: 15.95 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3352, allocations: 4 kB / 0.5668 GB, free: 13.79 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.0001041/0.3353, allocations: 117.8 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3354, allocations: 11.89 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.3354, allocations: 16.44 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3354, allocations: 4 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3354, allocations: 0 / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3354, allocations: 3.984 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.3361, allocations: 395.2 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3361, allocations: 4.031 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.3362, allocations: 11.98 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.3362, allocations: 28.78 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3363, allocations: 0 / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.3373, allocations: 1.303 MB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3373, allocations: 3.938 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.3378, allocations: 241.1 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.3378, allocations: 11.95 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3378, allocations: 0 / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3379, allocations: 15.98 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.338, allocations: 7.922 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.338, allocations: 7.984 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.338, allocations: 103.6 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.338, allocations: 4 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3383, allocations: 23.89 kB / 0.569 GB, free: 11.29 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.0008056/0.3391, allocations: 0.7665 MB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.3396, allocations: 198.6 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3396, allocations: 4.125 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.3399, allocations: 162.6 kB / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3402, allocations: 7.938 kB / 0.5701 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3426, allocations: 1.606 MB / 0.5717 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.3432, allocations: 0.6963 MB / 0.5724 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.3432, allocations: 7.75 kB / 0.5724 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.3433, allocations: 31.42 kB / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3433, allocations: 0 / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3748, allocations: 2.464 MB / 0.5748 GB, free: 5.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.97, allocations: 5.359 kB / 0.5748 GB, free: 5.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.9145425229799]