Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 179.8 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.4 MB / 230.3 MB, free: 7.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009448, allocations: 80.8 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.14 MB / 376.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.241e-06/6.261e-06, allocations: 0 / 444 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 61.9 MB / 0.4941 GB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4899, allocations: 91.09 MB / 0.583 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4901, allocations: 79.27 kB / 0.5831 GB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01524/0.5054, allocations: 5.465 MB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.5054, allocations: 8 kB / 0.5885 GB, free: 15.84 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009769/0.5064, allocations: 0.6078 MB / 0.5891 GB, free: 15.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.5065, allocations: 15.97 kB / 0.5891 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.5066, allocations: 47.44 kB / 0.5891 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5069, allocations: 282.3 kB / 0.5894 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.507, allocations: 15.94 kB / 0.5894 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.507, allocations: 24 kB / 0.5894 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004597/0.5075, allocations: 249.5 kB / 0.5897 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.5079, allocations: 258.2 kB / 0.5899 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.508, allocations: 4 kB / 0.5899 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.508, allocations: 0 / 0.5899 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.508, allocations: 8 kB / 0.5899 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.5101, allocations: 1.269 MB / 0.5912 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.5105, allocations: 219.4 kB / 0.5914 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5108, allocations: 137.3 kB / 0.5915 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.5108, allocations: 4.281 kB / 0.5915 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.5108, allocations: 34.78 kB / 0.5915 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.282e-06/0.5108, allocations: 0 / 0.5915 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004895/0.5113, allocations: 231.8 kB / 0.5918 GB, free: 12.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5114, allocations: 59.41 kB / 0.5918 GB, free: 12.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.5116, allocations: 200 kB / 0.592 GB, free: 12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5116, allocations: 25.7 kB / 0.592 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5117, allocations: 196 kB / 0.5922 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.5118, allocations: 110.3 kB / 0.5923 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.5118, allocations: 0 / 0.5923 GB, free: 11.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5119, allocations: 338.8 kB / 0.5926 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5121, allocations: 80.81 kB / 0.5927 GB, free: 11.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.5123, allocations: 150.7 kB / 0.5929 GB, free: 11.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.5125, allocations: 101.5 kB / 0.593 GB, free: 10.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5125, allocations: 4 kB / 0.593 GB, free: 10.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004692/0.513, allocations: 303 kB / 0.5933 GB, free: 10.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.513, allocations: 11.98 kB / 0.5933 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.513, allocations: 0 / 0.5933 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.513, allocations: 4 kB / 0.5933 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.5135, allocations: 104.1 kB / 0.5934 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5136, allocations: 7.938 kB / 0.5934 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.5138, allocations: 35.67 kB / 0.5934 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.5139, allocations: 11.98 kB / 0.5934 GB, free: 10.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.514, allocations: 112.8 kB / 0.5935 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.514, allocations: 27.72 kB / 0.5936 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.5145, allocations: 272.2 kB / 0.5938 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5145, allocations: 4 kB / 0.5938 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5145, allocations: 0 / 0.5938 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5146, allocations: 0 / 0.5938 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.5149, allocations: 341.8 kB / 0.5941 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5149, allocations: 0 / 0.5941 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.5154, allocations: 91.88 kB / 0.5942 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5154, allocations: 0 / 0.5942 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5154, allocations: 11.92 kB / 0.5942 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5154, allocations: 0 / 0.5942 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5154, allocations: 3.938 kB / 0.5942 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005939/0.516, allocations: 454.6 kB / 0.5947 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5162, allocations: 128.7 kB / 0.5948 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.5162, allocations: 3.906 kB / 0.5948 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5165, allocations: 16.05 kB / 0.5948 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.5165, allocations: 19.97 kB / 0.5948 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5166, allocations: 4 kB / 0.5948 GB, free: 8.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001279/0.5167, allocations: 152.5 kB / 0.595 GB, free: 8.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.517, allocations: 91.69 kB / 0.5951 GB, free: 8.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.5172, allocations: 104.4 kB / 0.5952 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.5176, allocations: 228.1 kB / 0.5954 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5176, allocations: 0 / 0.5954 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.5177, allocations: 120.3 kB / 0.5955 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.518, allocations: 15.09 kB / 0.5955 GB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5191, allocations: 0.5405 MB / 0.5961 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.5196, allocations: 0.8376 MB / 0.5969 GB, free: 6.824 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5196, allocations: 0 / 0.5969 GB, free: 6.824 MB / 410.7 MB Notification: Performance of Templates: time 0.006024/0.5256, allocations: 2.972 MB / 0.5998 GB, free: 3.883 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches