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.0007774/0.0007775, allocations: 101.7 kB / 17.01 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008668/0.0008668, allocations: 193.9 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000215/0.000215, allocations: 7.984 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08802, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003846/0.09191, allocations: 3.677 MB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.09402, allocations: 1.574 MB / 363.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.09419, allocations: 12 kB / 363.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.09456, allocations: 171.1 kB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.09502, allocations: 214.7 kB / 364.3 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.09625, allocations: 0.6156 MB / 364.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.0968, allocations: 0.5945 MB / 365.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.09827, allocations: 0.8413 MB / 366.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.09858, allocations: 223.1 kB / 366.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.09893, allocations: 302.8 kB / 366.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.09899, allocations: 28 kB / 366.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.09946, allocations: 251.7 kB / 367.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.09956, allocations: 107.5 kB / 367.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.09967, allocations: 129.4 kB / 367.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.1004, allocations: 0.7286 MB / 368.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1004, allocations: 3.938 kB / 368.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1004, allocations: 4 kB / 368.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1004, allocations: 0 / 368.1 MB, free: 4.148 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.003245/0.1036, allocations: 1.167 MB / 369.3 MB, free: 2.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1037, allocations: 8.031 kB / 369.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.105, allocations: 207.1 kB / 369.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1052, allocations: 241.7 kB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.1053, allocations: 50 kB / 369.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1054, allocations: 76 kB / 369.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1067, allocations: 0.7698 MB / 370.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.1068, allocations: 3.906 kB / 370.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.1068, allocations: 32 kB / 370.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.1069, allocations: 20 kB / 370.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1082, allocations: 0.6806 MB / 371.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1672/0.2755, allocations: 3.271 MB / 374.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2775, allocations: 2.074 MB / 376.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/0.2781, allocations: 331.3 kB / 377 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.2782, allocations: 182.8 kB / 377.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2782, allocations: 44.33 kB / 377.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.2783, allocations: 0 / 377.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002404/0.2807, allocations: 1.168 MB / 378.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2807, allocations: 111 kB / 378.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.281, allocations: 272.3 kB / 378.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.281, allocations: 36.17 kB / 378.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2811, allocations: 302.6 kB / 379.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2813, allocations: 243.2 kB / 379.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2813, allocations: 19.66 kB / 379.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.2814, allocations: 351.8 kB / 379.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.2818, allocations: 240.9 kB / 379.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.2824, allocations: 392.2 kB / 380.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.2829, allocations: 293.3 kB / 380.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2829, allocations: 1.125 kB / 380.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00139/0.2843, allocations: 0.8459 MB / 381.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2843, allocations: 6.156 kB / 381.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.2843, allocations: 3.969 kB / 381.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.2847, allocations: 129.6 kB / 381.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.2853, allocations: 165.7 kB / 381.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.2876, allocations: 3.417 MB / 385.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.288, allocations: 85.28 kB / 385.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.2881, allocations: 27.81 kB / 385.3 MB, free: 9.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.2883, allocations: 205.3 kB / 385.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.2884, allocations: 42.62 kB / 385.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2898, allocations: 0.7587 MB / 386.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2898, allocations: 8.125 kB / 386.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2898, allocations: 2.984 kB / 386.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2898, allocations: 4.781 kB / 386.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.292, allocations: 1.51 MB / 387.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2921, allocations: 7.172 kB / 387.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.2925, allocations: 120.8 kB / 387.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.2928, allocations: 109.7 kB / 388 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.2929, allocations: 22.02 kB / 388.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.2947, allocations: 3.097 MB / 391.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2948, allocations: 2.094 kB / 391.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.2965, allocations: 1.14 MB / 392.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.2966, allocations: 132.5 kB / 392.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.2966, allocations: 14.52 kB / 392.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.297, allocations: 32.05 kB / 392.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2971, allocations: 59.28 kB / 392.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.2972, allocations: 19.91 kB / 392.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.2973, allocations: 196.2 kB / 392.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2973, allocations: 1.281 kB / 392.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000784/0.2981, allocations: 214 kB / 392.9 MB, free: 4.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002086/0.2984, allocations: 154.6 kB / 393.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.2998, allocations: 0.8936 MB / 394 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2998, allocations: 1.969 kB / 394 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000678/0.3005, allocations: 0.5748 MB / 394.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3009, allocations: 40.53 kB / 394.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3028, allocations: 1.37 MB / 396 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3032, allocations: 0.8682 MB / 396.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.3036, allocations: 77.59 kB / 396.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3037, allocations: 44.25 kB / 397 MB, free: 1.691 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.3037, allocations: 0 / 397 MB, free: 1.691 MB / 302.1 MB Notification: Performance of Templates: time 0.009739/0.3135, allocations: 5.637 MB / 402.6 MB, free: 15.57 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