Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008928/0.000893, allocations: 179.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007535/0.0007534, allocations: 86.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002885, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 47.56 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004402/0.2217, allocations: 3.654 MB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.2247, allocations: 1.548 MB / 380.3 MB, free: 41.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.2251, allocations: 16.22 kB / 380.3 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.2257, allocations: 168.4 kB / 380.5 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.2265, allocations: 206.6 kB / 380.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.2281, allocations: 0.6396 MB / 381.3 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.2289, allocations: 0.5777 MB / 381.9 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.2307, allocations: 0.8931 MB / 382.8 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.2312, allocations: 234.4 kB / 383 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.2316, allocations: 301.9 kB / 383.3 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.2317, allocations: 27.78 kB / 383.3 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.2324, allocations: 233.5 kB / 383.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.2326, allocations: 105.7 kB / 383.7 MB, free: 39.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.2329, allocations: 298.5 kB / 384 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.2338, allocations: 0.7045 MB / 384.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2338, allocations: 0 / 384.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2338, allocations: 0 / 384.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.2339, allocations: 4 kB / 384.7 MB, free: 38.32 MB / 298.7 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.004889/0.2388, allocations: 1.148 MB / 385.8 MB, free: 37.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2388, allocations: 10.25 kB / 385.8 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.2411, allocations: 209.2 kB / 386 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2414, allocations: 244.5 kB / 386.3 MB, free: 37.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.2414, allocations: 56.84 kB / 386.3 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.2416, allocations: 72.47 kB / 386.4 MB, free: 37.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.2435, allocations: 0.7784 MB / 387.2 MB, free: 36.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.2435, allocations: 0 / 387.2 MB, free: 36.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/0.2436, allocations: 35.98 kB / 387.2 MB, free: 36.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2437, allocations: 23.98 kB / 387.2 MB, free: 36.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2454, allocations: 0.6775 MB / 387.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.2502, allocations: 3.122 MB / 391 MB, free: 32.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.2527, allocations: 2.083 MB / 393.1 MB, free: 29.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/0.2536, allocations: 332.4 kB / 393.4 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.2538, allocations: 101.7 kB / 393.5 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2538, allocations: 39.22 kB / 393.6 MB, free: 29.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 4.117e-06/0.2538, allocations: 0 / 393.6 MB, free: 29.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.003622/0.2574, allocations: 1.177 MB / 394.8 MB, free: 28.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2575, allocations: 115.6 kB / 394.9 MB, free: 28.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.2578, allocations: 270.5 kB / 395.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.2579, allocations: 41.64 kB / 395.2 MB, free: 27.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2581, allocations: 303.4 kB / 395.5 MB, free: 27.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.2583, allocations: 248.4 kB / 395.7 MB, free: 27.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2583, allocations: 12 kB / 395.7 MB, free: 27.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.2584, allocations: 354.7 kB / 396.1 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.2591, allocations: 237.9 kB / 396.3 MB, free: 26.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/0.2599, allocations: 394.2 kB / 396.7 MB, free: 26.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.2615, allocations: 0.6455 MB / 397.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2615, allocations: 0 / 397.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002128/0.2637, allocations: 0.85 MB / 398.2 MB, free: 24.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.2637, allocations: 8 kB / 398.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2637, allocations: 4 kB / 398.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.2642, allocations: 125.7 kB / 398.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.2652, allocations: 171.8 kB / 398.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.2684, allocations: 3.416 MB / 401.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.2692, allocations: 87.2 kB / 402 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.2693, allocations: 31.98 kB / 402 MB, free: 20.54 MB / 298.7 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.0003332/0.2696, allocations: 205.7 kB / 402.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2698, allocations: 43.44 kB / 402.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.2718, allocations: 0.7609 MB / 403 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2719, allocations: 8 kB / 403 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2719, allocations: 8 kB / 403 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2719, allocations: 3.984 kB / 403 MB, free: 19.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.2753, allocations: 1.516 MB / 404.6 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2753, allocations: 3.984 kB / 404.6 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.2761, allocations: 119.9 kB / 404.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/0.2765, allocations: 109.6 kB / 404.8 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.2766, allocations: 12 kB / 404.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.2792, allocations: 3.113 MB / 407.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2793, allocations: 3.938 kB / 407.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.282, allocations: 1.148 MB / 409.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.2822, allocations: 120.5 kB / 409.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.2823, allocations: 20.05 kB / 409.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.2829, allocations: 31.98 kB / 409.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.283, allocations: 52.58 kB / 409.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.2831, allocations: 23.98 kB / 409.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.2833, allocations: 193.8 kB / 409.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2833, allocations: 0 / 409.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001181/0.2845, allocations: 211.5 kB / 409.7 MB, free: 12.45 MB / 298.7 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.0002691/0.2848, allocations: 151.2 kB / 409.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.2869, allocations: 0.9075 MB / 410.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2869, allocations: 4.062 kB / 410.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.288, allocations: 0.5635 MB / 411.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.2887, allocations: 36.55 kB / 411.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.2914, allocations: 1.408 MB / 412.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2918, allocations: 0.8694 MB / 413.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.292, allocations: 55.36 kB / 413.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.2921, allocations: 0 / 413.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of Templates: time 0.011/0.3031, allocations: 11.39 MB / 425.1 MB, free: 12.96 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches