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.001117/0.001117, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009698/0.0009699, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001949/0.000195, allocations: 4 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08312, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003588/0.08674, allocations: 3.444 MB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.08921, allocations: 1.589 MB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.08948, allocations: 12 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.08997, allocations: 171 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.0905, allocations: 235.3 kB / 363.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.09178, allocations: 0.6226 MB / 364.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.09241, allocations: 454.8 kB / 364.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.09378, allocations: 0.8257 MB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.09408, allocations: 227.2 kB / 365.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.09445, allocations: 298.8 kB / 365.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.09451, allocations: 28 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.09501, allocations: 227.8 kB / 366.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.0951, allocations: 107.5 kB / 366.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.09522, allocations: 133.4 kB / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.09605, allocations: 0.717 MB / 367.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09606, allocations: 0 / 367.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.09607, allocations: 4 kB / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.09609, allocations: 3.938 kB / 367.1 MB, free: 4.793 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.003411/0.09951, allocations: 1.171 MB / 368.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.09955, allocations: 12.03 kB / 368.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.1009, allocations: 203.1 kB / 368.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1011, allocations: 233.5 kB / 368.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.1012, allocations: 58 kB / 368.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1013, allocations: 72 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1026, allocations: 0.7659 MB / 369.6 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1026, allocations: 3.906 kB / 369.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.1027, allocations: 32 kB / 369.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.1027, allocations: 16 kB / 369.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.1041, allocations: 0.6884 MB / 370.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1474/0.2515, allocations: 3.271 MB / 373.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.2535, allocations: 2.088 MB / 375.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2536, allocations: 181.1 kB / 375.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2536, allocations: 40.16 kB / 376 MB, free: 9.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.2536, allocations: 5.031 kB / 376 MB, free: 9.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00238/0.256, allocations: 1.147 MB / 377.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2561, allocations: 116.8 kB / 377.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2563, allocations: 270.3 kB / 377.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2564, allocations: 39.36 kB / 377.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2565, allocations: 295.4 kB / 377.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2566, allocations: 244.5 kB / 378 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.2566, allocations: 16.69 kB / 378.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.2567, allocations: 351.1 kB / 378.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2572, allocations: 241.7 kB / 378.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.2577, allocations: 391.4 kB / 379 MB, free: 8.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.2583, allocations: 294.2 kB / 379.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2583, allocations: 1.625 kB / 379.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001449/0.2597, allocations: 0.8427 MB / 380.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2598, allocations: 6.219 kB / 380.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2598, allocations: 4.531 kB / 380.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.2601, allocations: 117.7 kB / 380.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.2608, allocations: 169.6 kB / 380.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.2627, allocations: 3.157 MB / 383.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.2632, allocations: 93.39 kB / 383.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.2632, allocations: 32.73 kB / 383.7 MB, free: 5.805 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 (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.000204/0.2634, allocations: 202.4 kB / 383.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.2635, allocations: 41.14 kB / 384 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2649, allocations: 0.759 MB / 384.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2649, allocations: 10.72 kB / 384.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.265, allocations: 0 / 384.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.265, allocations: 8.203 kB / 384.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.267, allocations: 1.442 MB / 386.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.267, allocations: 6.031 kB / 386.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.2675, allocations: 116 kB / 386.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.2678, allocations: 110.5 kB / 386.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.2678, allocations: 23.89 kB / 386.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.2697, allocations: 3.15 MB / 389.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2697, allocations: 9.156 kB / 389.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.2715, allocations: 1.169 MB / 390.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.2716, allocations: 129.2 kB / 390.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.2716, allocations: 11.62 kB / 390.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.272, allocations: 36.72 kB / 390.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2721, allocations: 48.53 kB / 391 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.2722, allocations: 23.97 kB / 391 MB, free: 1.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2723, allocations: 191.9 kB / 391.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2724, allocations: 1.125 kB / 391.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006795/0.273, allocations: 218.5 kB / 391.4 MB, free: 1.645 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.0002071/0.2733, allocations: 152.7 kB / 391.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2746, allocations: 0.8915 MB / 392.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2747, allocations: 0 / 392.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.2754, allocations: 0.5734 MB / 393 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2757, allocations: 36.75 kB / 393.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2776, allocations: 1.365 MB / 394.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.2781, allocations: 0.88 MB / 395.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.2785, allocations: 81.25 kB / 395.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2786, allocations: 44.77 kB / 395.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2786, allocations: 4 kB / 395.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of Templates: time 0.009802/0.2884, allocations: 5.574 MB / 401 MB, free: 13.6 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","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches