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.001002/0.001002, allocations: 116.9 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 204.5 kB / 19.35 MB, free: 3.809 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.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 66.78 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08088/0.08202, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004972/0.08702, allocations: 4.326 MB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.08924, allocations: 1.724 MB / 365 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.0894, allocations: 12 kB / 365 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.09138, allocations: 1.014 MB / 366 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.09181, allocations: 250.2 kB / 366.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.0931, allocations: 0.759 MB / 367 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.09362, allocations: 0.6413 MB / 367.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.09428, allocations: 0.5208 MB / 368.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.0946, allocations: 278.9 kB / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.09495, allocations: 354.5 kB / 368.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.09503, allocations: 56 kB / 368.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.09545, allocations: 291.7 kB / 369.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.09555, allocations: 139.5 kB / 369.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.09579, allocations: 326.4 kB / 369.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.09664, allocations: 0.9812 MB / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09665, allocations: 0 / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09666, allocations: 0 / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.09667, allocations: 0 / 370.5 MB, free: 1.66 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.00325/0.09993, allocations: 1.264 MB / 371.8 MB, free: 352 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.09998, allocations: 12.03 kB / 371.8 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.1013, allocations: 204 kB / 372 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1297/0.231, allocations: 249.7 kB / 372.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.2312, allocations: 54.62 kB / 372.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.2314, allocations: 73.91 kB / 372.4 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2328, allocations: 0.7629 MB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2329, allocations: 1.641 kB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.2329, allocations: 30.12 kB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.2329, allocations: 18 kB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2342, allocations: 0.6655 MB / 373.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.238, allocations: 3.251 MB / 377.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2398, allocations: 2.067 MB / 379.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.2404, allocations: 322.8 kB / 379.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.2405, allocations: 182.9 kB / 379.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2405, allocations: 38.66 kB / 379.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.2405, allocations: 5.562 kB / 379.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002312/0.2428, allocations: 1.136 MB / 380.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2429, allocations: 110 kB / 381 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2432, allocations: 276.8 kB / 381.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.2432, allocations: 35.05 kB / 381.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2434, allocations: 302 kB / 381.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2435, allocations: 247.6 kB / 381.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.2437, allocations: 139.7 kB / 381.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.2438, allocations: 348.1 kB / 382.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.2442, allocations: 232.5 kB / 382.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.2448, allocations: 386.3 kB / 382.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.2457, allocations: 0.6288 MB / 383.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2457, allocations: 1.125 kB / 383.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001353/0.2471, allocations: 0.8328 MB / 384.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2471, allocations: 7.375 kB / 384.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2471, allocations: 8.406 kB / 384.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.2475, allocations: 123.6 kB / 384.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.2481, allocations: 160.8 kB / 384.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.2506, allocations: 3.778 MB / 388.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.251, allocations: 93.58 kB / 388.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.2511, allocations: 41.72 kB / 388.6 MB, free: 8.609 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.0002124/0.2513, allocations: 195.1 kB / 388.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.2514, allocations: 40.08 kB / 388.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.2528, allocations: 0.7474 MB / 389.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2528, allocations: 6.5 kB / 389.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2529, allocations: 4.156 kB / 389.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2529, allocations: 4.5 kB / 389.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.2551, allocations: 1.486 MB / 391 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2551, allocations: 0 / 391 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.2556, allocations: 109.6 kB / 391.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/0.2559, allocations: 119 kB / 391.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.2559, allocations: 14.56 kB / 391.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.2579, allocations: 3.344 MB / 394.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2579, allocations: 1.094 kB / 394.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2596, allocations: 1.121 MB / 395.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2596, allocations: 127.4 kB / 395.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.2597, allocations: 12.7 kB / 395.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.2601, allocations: 31.95 kB / 395.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2602, allocations: 47.47 kB / 396 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.2603, allocations: 20.92 kB / 396 MB, free: 3.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.2604, allocations: 197.5 kB / 396.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2604, allocations: 5.125 kB / 396.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000785/0.2612, allocations: 220.6 kB / 396.4 MB, free: 3.176 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.0002297/0.2615, allocations: 160.7 kB / 396.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.2629, allocations: 0.8807 MB / 397.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2629, allocations: 0 / 397.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.2636, allocations: 0.5576 MB / 398 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.2641, allocations: 37.41 kB / 398 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2659, allocations: 1.112 MB / 399.1 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2662, allocations: 0.8644 MB / 400 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.2665, allocations: 82.06 kB / 400.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2666, allocations: 45.72 kB / 400.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2666, allocations: 0 / 400.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of Templates: time 0.01086/0.2775, allocations: 6.129 MB / 406.2 MB, free: 13.51 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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