Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008679/0.000868, allocations: 92.42 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009243/0.0009245, allocations: 203.2 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002225, allocations: 8 kB / 307.8 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.08967, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00436/0.09406, allocations: 3.908 MB / 363.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.09684, allocations: 1.682 MB / 364.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.09726, allocations: 12 kB / 364.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.09789, allocations: 227.1 kB / 365.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.0986, allocations: 218.7 kB / 365.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1001, allocations: 0.7323 MB / 366 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.1008, allocations: 0.6062 MB / 366.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.1024, allocations: 0.9267 MB / 367.6 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.1028, allocations: 231 kB / 367.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.1033, allocations: 318.5 kB / 368.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.1033, allocations: 28 kB / 368.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.1039, allocations: 263.7 kB / 368.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.104, allocations: 107.5 kB / 368.5 MB, free: 4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.1043, allocations: 316.1 kB / 368.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009986/0.1053, allocations: 0.9343 MB / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1053, allocations: 0 / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1053, allocations: 0 / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.1054, allocations: 0 / 369.7 MB, free: 2.746 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003598/0.109, allocations: 1.163 MB / 370.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.109, allocations: 8.031 kB / 370.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1104, allocations: 208 kB / 371.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1107, allocations: 246.8 kB / 371.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.1107, allocations: 58.38 kB / 371.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.1109, allocations: 72.38 kB / 371.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1123, allocations: 0.7819 MB / 372.3 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.1124, allocations: 7.844 kB / 372.3 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.1124, allocations: 32 kB / 372.3 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1125, allocations: 16 kB / 372.3 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1519/0.2644, allocations: 0.6797 MB / 373 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.2688, allocations: 3.282 MB / 376.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.2708, allocations: 2.081 MB / 378.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.2715, allocations: 331.7 kB / 378.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.2716, allocations: 186.4 kB / 378.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.2716, allocations: 37.97 kB / 378.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.2716, allocations: 4.875 kB / 378.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002452/0.2741, allocations: 1.175 MB / 380.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2741, allocations: 110.9 kB / 380.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2744, allocations: 279 kB / 380.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.2744, allocations: 36.17 kB / 380.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2746, allocations: 297.5 kB / 380.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2747, allocations: 244.8 kB / 381 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.2748, allocations: 69.5 kB / 381.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.2749, allocations: 347.6 kB / 381.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.2754, allocations: 245.1 kB / 381.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.276, allocations: 396.4 kB / 382.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.2771, allocations: 0.6547 MB / 382.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2771, allocations: 1.656 kB / 382.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001495/0.2786, allocations: 0.8469 MB / 383.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2786, allocations: 16.39 kB / 383.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2786, allocations: 3.469 kB / 383.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.279, allocations: 127.1 kB / 383.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.2797, allocations: 168.1 kB / 383.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.2821, allocations: 3.413 MB / 387.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.2826, allocations: 94.75 kB / 387.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.2827, allocations: 31.86 kB / 387.4 MB, free: 8.883 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.283, allocations: 196.2 kB / 387.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.2831, allocations: 43.03 kB / 387.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.2846, allocations: 0.7708 MB / 388.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2846, allocations: 7.891 kB / 388.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2847, allocations: 3.125 kB / 388.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2847, allocations: 6.734 kB / 388.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.2871, allocations: 1.511 MB / 389.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2872, allocations: 0 / 389.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.2877, allocations: 121.6 kB / 390.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.288, allocations: 109.3 kB / 390.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.288, allocations: 13.98 kB / 390.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.29, allocations: 3.115 MB / 393.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.29, allocations: 0 / 393.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2919, allocations: 1.154 MB / 394.5 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.292, allocations: 128.4 kB / 394.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.2921, allocations: 17.25 kB / 394.6 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.2925, allocations: 32.91 kB / 394.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2926, allocations: 50.83 kB / 394.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.2927, allocations: 18.67 kB / 394.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.2928, allocations: 191 kB / 394.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2928, allocations: 4 kB / 394.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007828/0.2936, allocations: 219 kB / 395.1 MB, free: 3.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/0.2939, allocations: 162.2 kB / 395.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.2954, allocations: 0.9021 MB / 396.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2954, allocations: 0 / 396.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.2962, allocations: 0.5722 MB / 396.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.2966, allocations: 43.34 kB / 396.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2987, allocations: 1.436 MB / 398.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.2991, allocations: 0.8719 MB / 399.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.2995, allocations: 83.64 kB / 399.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.2997, allocations: 44.97 kB / 399.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2997, allocations: 0 / 399.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Templates: time 0.0109/0.3106, allocations: 5.778 MB / 405 MB, free: 14.38 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches