Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 52.31 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.0796, allocations: 46.63 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005156/0.08479, allocations: 4.282 MB / 378.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1747/0.2595, allocations: 1.684 MB / 380.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.2599, allocations: 12.09 kB / 380.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.2622, allocations: 1.019 MB / 381.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.2631, allocations: 243.3 kB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.2647, allocations: 0.7983 MB / 382.7 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.2658, allocations: 0.6379 MB / 383.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.2667, allocations: 0.512 MB / 383.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.2672, allocations: 274.8 kB / 384.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.2677, allocations: 360.8 kB / 384.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-05/0.2678, allocations: 56.22 kB / 384.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007021/0.2685, allocations: 277.1 kB / 384.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2686, allocations: 141 kB / 384.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.269, allocations: 330.2 kB / 385.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.2705, allocations: 0.9496 MB / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2705, allocations: 0 / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2705, allocations: 0.5156 kB / 386.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.2706, allocations: 0 / 386.2 MB, free: 7.848 MB / 318.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.004134/0.2747, allocations: 1.258 MB / 387.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.2748, allocations: 12.69 kB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.2749, allocations: 121.2 kB / 387.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.2764, allocations: 208.8 kB / 387.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.2767, allocations: 236.9 kB / 388 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.2767, allocations: 56 kB / 388.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.2769, allocations: 76.91 kB / 388.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2784, allocations: 0.7726 MB / 388.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.2785, allocations: 1.922 kB / 388.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.2786, allocations: 31.12 kB / 388.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.2786, allocations: 17.97 kB / 389 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.28, allocations: 0.6729 MB / 389.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.2841, allocations: 3.087 MB / 392.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2861, allocations: 2.081 MB / 394.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.2868, allocations: 325.3 kB / 395.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-05/0.2869, allocations: 101.4 kB / 395.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2869, allocations: 38.86 kB / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.756e-06/0.2869, allocations: 1.5 kB / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002606/0.2895, allocations: 1.139 MB / 396.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.2896, allocations: 112.3 kB / 396.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.2899, allocations: 274 kB / 396.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.29, allocations: 40.02 kB / 396.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2901, allocations: 299 kB / 397.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.2903, allocations: 242.6 kB / 397.3 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.2905, allocations: 139.3 kB / 397.5 MB, free: 344 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.2906, allocations: 352.9 kB / 397.8 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.2913, allocations: 250.6 kB / 398.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.2919, allocations: 385 kB / 398.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2931, allocations: 0.6377 MB / 399.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2931, allocations: 5.406 kB / 399.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001625/0.2947, allocations: 0.8301 MB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2948, allocations: 10.17 kB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2948, allocations: 4.125 kB / 399.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.2952, allocations: 116.1 kB / 400 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.2959, allocations: 169.4 kB / 400.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.2995, allocations: 3.793 MB / 404 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.3002, allocations: 85.31 kB / 404.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.3003, allocations: 32.2 kB / 404.1 MB, free: 11.4 MB / 334.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.0003828/0.3007, allocations: 200 kB / 404.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3008, allocations: 40.02 kB / 404.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.3026, allocations: 0.7394 MB / 405.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.3026, allocations: 12.86 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3026, allocations: 3.406 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3027, allocations: 2.438 kB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.3057, allocations: 1.501 MB / 406.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3057, allocations: 1.219 kB / 406.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.3062, allocations: 108.3 kB / 406.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/0.3066, allocations: 114.4 kB / 406.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.3067, allocations: 16.08 kB / 406.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.3101, allocations: 3.35 MB / 410.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3101, allocations: 1.766 kB / 410.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3123, allocations: 1.123 MB / 411.3 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3125, allocations: 125.1 kB / 411.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3127, allocations: 16.16 kB / 411.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.3131, allocations: 28.94 kB / 411.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3133, allocations: 56.77 kB / 411.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.3133, allocations: 18.31 kB / 411.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3136, allocations: 196.4 kB / 411.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3136, allocations: 0 / 411.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3146, allocations: 208.5 kB / 412 MB, free: 5.883 MB / 334.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.00263/0.3172, allocations: 1.719 MB / 413.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.3192, allocations: 0.8854 MB / 414.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3192, allocations: 1.031 kB / 414.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.3201, allocations: 0.5659 MB / 415.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.3208, allocations: 42.91 kB / 415.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008249/0.3291, allocations: 4.758 MB / 419.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.3296, allocations: 0.8674 MB / 420.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.3301, allocations: 82.66 kB / 420.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.3304, allocations: 205.7 kB / 421.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3304, allocations: 0 / 421.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.374, allocations: 10.86 MB / 431.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.6, allocations: 0 / 431.9 MB, free: 4.445 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches