Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009737/0.0009737, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001172/0.001172, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9129/0.9129, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.636e-05, allocations: 3.828 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002252/0.002278, allocations: 1.708 MB / 441.3 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.002444, allocations: 83.72 kB / 441.3 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.002486, allocations: 0 / 441.3 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.002542, allocations: 19.8 kB / 441.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.00262, allocations: 23.78 kB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.002727, allocations: 23.97 kB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.002841, allocations: 111.5 kB / 441.5 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.002989, allocations: 39.95 kB / 441.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.003067, allocations: 63.88 kB / 441.6 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.003119, allocations: 35.89 kB / 441.7 MB, free: 2.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.003146, allocations: 12 kB / 441.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.003156, allocations: 8 kB / 441.7 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.003179, allocations: 27.97 kB / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.003214, allocations: 31.92 kB / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003356, allocations: 119.6 kB / 441.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003359, allocations: 0 / 441.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.003361, allocations: 0 / 441.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.003366, allocations: 3.938 kB / 441.9 MB, free: 1.961 MB / 410.7 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.0004882/0.003854, allocations: 345.9 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.003897, allocations: 8.031 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.003936, allocations: 50.73 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.003962, allocations: 8.891 kB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.004051, allocations: 121.6 kB / 442.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.004063, allocations: 8.375 kB / 442.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.004077, allocations: 8.359 kB / 442.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.004305, allocations: 133 kB / 442.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004312, allocations: 192 / 442.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.004324, allocations: 8.312 kB / 442.5 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.004332, allocations: 8.125 kB / 442.5 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.004512, allocations: 103.9 kB / 442.6 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.005068, allocations: 418.8 kB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.005225, allocations: 82.52 kB / 443.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.005364, allocations: 56.94 kB / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.005377, allocations: 7.938 kB / 443.2 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.005394, allocations: 30.56 kB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.005396, allocations: 0 / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004852/0.005881, allocations: 190.3 kB / 443.4 MB, free: 264 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.005913, allocations: 59.34 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.00599, allocations: 121.8 kB / 443.6 MB, free: 60 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.006003, allocations: 25.7 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1721/0.1782, allocations: 112.1 kB / 443.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1782, allocations: 18.2 kB / 443.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1782, allocations: 19.75 kB / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.1783, allocations: 320.3 kB / 444.1 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1784, allocations: 37.33 kB / 444.1 MB, free: 46.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1785, allocations: 57.44 kB / 444.2 MB, free: 46.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1786, allocations: 95.12 kB / 444.3 MB, free: 46.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1786, allocations: 0 / 444.3 MB, free: 46.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000266/0.1789, allocations: 154.4 kB / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1789, allocations: 3.562 kB / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1789, allocations: 4.438 kB / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.1791, allocations: 24.52 kB / 444.4 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.1791, allocations: 23.08 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006474/0.1798, allocations: 1.3 MB / 445.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.1798, allocations: 19.88 kB / 445.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1799, allocations: 3 kB / 445.8 MB, free: 44.79 MB / 410.7 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 7.017e-05/0.1799, allocations: 122.3 kB / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1799, allocations: 13.14 kB / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.18, allocations: 8.312 kB / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.18, allocations: 2.531 kB / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.18, allocations: 0 / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.18, allocations: 0 / 445.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.1803, allocations: 396 kB / 446.3 MB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1803, allocations: 3.938 kB / 446.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1804, allocations: 18.83 kB / 446.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.068e-05/0.1804, allocations: 20.34 kB / 446.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1804, allocations: 2.562 kB / 446.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000377/0.1808, allocations: 1.304 MB / 447.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1808, allocations: 2.969 kB / 447.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.181, allocations: 239.1 kB / 447.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.181, allocations: 6.281 kB / 447.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-06/0.181, allocations: 3.938 kB / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.1811, allocations: 15.42 kB / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1811, allocations: 10.48 kB / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.1811, allocations: 0 / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.88e-05/0.1811, allocations: 97.67 kB / 448 MB, free: 42.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1811, allocations: 0 / 448 MB, free: 42.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.1813, allocations: 28.28 kB / 448.1 MB, free: 42.88 MB / 410.7 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.0003299/0.1816, allocations: 0.766 MB / 448.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.182, allocations: 204.2 kB / 449 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.182, allocations: 0 / 449 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1821, allocations: 155 kB / 449.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1823, allocations: 9.875 kB / 449.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1834, allocations: 1.608 MB / 450.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.1834, allocations: 88.97 kB / 450.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.1834, allocations: 0 / 450.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.1835, allocations: 30.59 kB / 450.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1835, allocations: 0 / 450.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.2007, allocations: 3.093 MB / 454 MB, free: 39.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/7.025, allocations: 10.05 kB / 454 MB, free: 39.49 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.977558361366391]