Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_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 trunk/package.mo): time 0.00122/0.00122, allocations: 198.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 96.09 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.184e-05, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.5299, allocations: 92.14 MB / 0.5938 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.5301, allocations: 73.08 kB / 0.5938 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01505/0.5452, allocations: 5.538 MB / 0.5992 GB, free: 6.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.5452, allocations: 8 kB / 0.5992 GB, free: 6.051 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001029/0.5463, allocations: 0.6088 MB / 0.5998 GB, free: 5.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5463, allocations: 8.031 kB / 0.5998 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.5467, allocations: 59.17 kB / 0.5999 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.547, allocations: 286.5 kB / 0.6002 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.5471, allocations: 12 kB / 0.6002 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.5471, allocations: 23.94 kB / 0.6002 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004646/0.5476, allocations: 251.1 kB / 0.6005 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.5481, allocations: 262.7 kB / 0.6007 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.5481, allocations: 0 / 0.6007 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.5482, allocations: 0 / 0.6007 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.5482, allocations: 12 kB / 0.6007 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.5503, allocations: 1.267 MB / 0.6019 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.5507, allocations: 228.8 kB / 0.6022 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.5509, allocations: 127.9 kB / 0.6023 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.5509, allocations: 12.22 kB / 0.6023 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.551, allocations: 42.39 kB / 0.6023 GB, free: 3.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.551, allocations: 0 / 0.6023 GB, free: 3.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004514/0.5514, allocations: 235.5 kB / 0.6026 GB, free: 3.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.5515, allocations: 55.41 kB / 0.6026 GB, free: 3.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.5517, allocations: 193.1 kB / 0.6028 GB, free: 2.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5517, allocations: 25.7 kB / 0.6028 GB, free: 2.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.5518, allocations: 190.2 kB / 0.603 GB, free: 2.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.5519, allocations: 120 kB / 0.6031 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.5519, allocations: 0 / 0.6031 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.552, allocations: 333.8 kB / 0.6034 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5522, allocations: 83.3 kB / 0.6035 GB, free: 2.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.5524, allocations: 140.4 kB / 0.6037 GB, free: 2.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.5526, allocations: 105.5 kB / 0.6038 GB, free: 1.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5526, allocations: 0 / 0.6038 GB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004682/0.5531, allocations: 306.8 kB / 0.604 GB, free: 1.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5531, allocations: 8.031 kB / 0.6041 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5531, allocations: 4 kB / 0.6041 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5531, allocations: 4 kB / 0.6041 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.5537, allocations: 99.25 kB / 0.6042 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5537, allocations: 7.984 kB / 0.6042 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.554, allocations: 35.59 kB / 0.6042 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.554, allocations: 19.48 kB / 0.6042 GB, free: 1.562 MB / 394.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 0.0001159/0.5541, allocations: 112.8 kB / 0.6043 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.5542, allocations: 27.72 kB / 0.6044 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.5547, allocations: 275.9 kB / 0.6046 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5547, allocations: 4 kB / 0.6046 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5548, allocations: 0 / 0.6046 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5548, allocations: 4 kB / 0.6046 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.5552, allocations: 335.7 kB / 0.6049 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5552, allocations: 7.922 kB / 0.605 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.5557, allocations: 86.77 kB / 0.605 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.5557, allocations: 0 / 0.605 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.5558, allocations: 7.922 kB / 0.605 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5558, allocations: 8 kB / 0.605 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5558, allocations: 4 kB / 0.6051 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006731/0.5565, allocations: 463.8 kB / 0.6055 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5567, allocations: 120.1 kB / 0.6056 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.5567, allocations: 0 / 0.6056 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.557, allocations: 11.98 kB / 0.6056 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.557, allocations: 24.08 kB / 0.6056 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.5571, allocations: 11.19 kB / 0.6057 GB, free: 276 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001484/0.5572, allocations: 152.2 kB / 0.6058 GB, free: 148 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.5576, allocations: 83.69 kB / 0.6059 GB, free: 64 kB / 394.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.000205/0.5578, allocations: 107.2 kB / 0.606 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.5583, allocations: 230 kB / 0.6062 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5583, allocations: 0 / 0.6062 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.5585, allocations: 118.8 kB / 0.6063 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5588, allocations: 13.53 kB / 0.6063 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5602, allocations: 0.5386 MB / 0.6069 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.5608, allocations: 0.8446 MB / 0.6077 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5608, allocations: 0 / 0.6077 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.007102/0.5679, allocations: 2.98 MB / 0.6106 GB, free: 11.38 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches