Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [: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.001506/0.001506, allocations: 179.4 kB / 8.519 MB, free: 1.859 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.368/1.368, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009088/0.0009087, allocations: 97.78 kB / 281.2 MB, free: 5.516 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.1743/0.1743, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.454e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 61.92 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4783, allocations: 88.12 MB / 0.5801 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.4785, allocations: 75.95 kB / 0.5802 GB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.007285/0.4858, allocations: 2.582 MB / 0.5827 GB, free: 6.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.4858, allocations: 4 kB / 0.5827 GB, free: 6.117 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000533/0.4864, allocations: 422.3 kB / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4864, allocations: 12.03 kB / 0.5832 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.4865, allocations: 11.81 kB / 0.5832 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4867, allocations: 207 kB / 0.5834 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4867, allocations: 4 kB / 0.5834 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4868, allocations: 11.83 kB / 0.5834 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001834/0.487, allocations: 72.5 kB / 0.5835 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4871, allocations: 111.5 kB / 0.5836 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4872, allocations: 0 / 0.5836 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.4872, allocations: 4 kB / 0.5836 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4872, allocations: 4 kB / 0.5836 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.488, allocations: 0.5152 MB / 0.5841 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.4882, allocations: 54.59 kB / 0.5841 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.4882, allocations: 16.98 kB / 0.5841 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4883, allocations: 0 / 0.5841 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.4883, allocations: 34.56 kB / 0.5842 GB, free: 4.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.4883, allocations: 5.219 kB / 0.5842 GB, free: 4.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001851/0.4885, allocations: 61.58 kB / 0.5842 GB, free: 4.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4885, allocations: 55.41 kB / 0.5843 GB, free: 4.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.4887, allocations: 123.9 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4887, allocations: 25.7 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.4888, allocations: 131.5 kB / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.4888, allocations: 19.66 kB / 0.5846 GB, free: 4.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4888, allocations: 0 / 0.5846 GB, free: 4.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4889, allocations: 326.8 kB / 0.5849 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.489, allocations: 12 kB / 0.5849 GB, free: 3.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.489, allocations: 44.3 kB / 0.5849 GB, free: 3.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.4891, allocations: 23.98 kB / 0.585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4891, allocations: 0 / 0.585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001455/0.4892, allocations: 97.41 kB / 0.5851 GB, free: 3.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4892, allocations: 4 kB / 0.5851 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4893, allocations: 4 kB / 0.5851 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4893, allocations: 0 / 0.5851 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.4894, allocations: 31.97 kB / 0.5851 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4894, allocations: 4.062 kB / 0.5851 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.4896, allocations: 31.89 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4896, allocations: 0 / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.278e-05/0.4897, allocations: 108.9 kB / 0.5852 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.4897, allocations: 11.81 kB / 0.5852 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.4897, allocations: 8.188 kB / 0.5853 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4897, allocations: 4 kB / 0.5853 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4898, allocations: 4 kB / 0.5853 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4898, allocations: 0 / 0.5853 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4899, allocations: 178.2 kB / 0.5854 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.49, allocations: 0 / 0.5854 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4901, allocations: 19.89 kB / 0.5854 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4901, allocations: 0 / 0.5854 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4901, allocations: 4 kB / 0.5855 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4901, allocations: 4.062 kB / 0.5855 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4901, allocations: 4 kB / 0.5855 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001317/0.4902, allocations: 159.4 kB / 0.5856 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.4903, allocations: 85.02 kB / 0.5857 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4903, allocations: 3.984 kB / 0.5857 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4904, allocations: 7.906 kB / 0.5857 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4905, allocations: 11.98 kB / 0.5857 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4905, allocations: 0 / 0.5857 GB, free: 2.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.234e-05/0.4906, allocations: 99.28 kB / 0.5858 GB, free: 2.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.4908, allocations: 27.84 kB / 0.5858 GB, free: 2.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001193/0.4909, allocations: 99.23 kB / 0.5859 GB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4911, allocations: 39.94 kB / 0.586 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4911, allocations: 4.25 kB / 0.586 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.4911, allocations: 20 kB / 0.586 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.4913, allocations: 6.344 kB / 0.586 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.4917, allocations: 139.3 kB / 0.5861 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.492, allocations: 0.7231 MB / 0.5868 GB, free: 1.551 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.492, allocations: 4 kB / 0.5868 GB, free: 1.547 MB / 394.7 MB Notification: Performance of Templates: time 0.002948/0.495, allocations: 0.773 MB / 0.5876 GB, free: 0.7773 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches