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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008356/0.0008356, allocations: 96.14 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009739/0.0009739, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002124, allocations: 4 kB / 307.9 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.07773, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003934/0.0817, allocations: 3.9 MB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.08416, allocations: 1.686 MB / 365 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.08447, allocations: 12 kB / 365 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.08501, allocations: 223.1 kB / 365.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.08563, allocations: 210.7 kB / 365.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.08699, allocations: 0.74 MB / 366.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.08764, allocations: 0.6063 MB / 366.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.08911, allocations: 0.9227 MB / 367.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.08945, allocations: 231 kB / 367.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.08982, allocations: 322.5 kB / 368.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.08989, allocations: 28 kB / 368.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.09037, allocations: 259.7 kB / 368.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.09046, allocations: 107.5 kB / 368.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.09071, allocations: 316 kB / 368.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.09162, allocations: 0.9344 MB / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.09163, allocations: 0 / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09164, allocations: 0 / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.09166, allocations: 0 / 369.8 MB, free: 2.648 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.003235/0.0949, allocations: 1.163 MB / 371 MB, free: 1.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.09494, allocations: 8.031 kB / 371 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.0951, allocations: 122.7 kB / 371.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.0964, allocations: 208 kB / 371.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.0966, allocations: 246.6 kB / 371.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.09666, allocations: 58.36 kB / 371.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.09678, allocations: 76.31 kB / 371.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1301/0.2269, allocations: 0.7754 MB / 372.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.227, allocations: 3.406 kB / 372.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.2271, allocations: 30 kB / 372.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2271, allocations: 17.81 kB / 372.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2285, allocations: 0.6841 MB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.2322, allocations: 3.282 MB / 376.5 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.234, allocations: 2.08 MB / 378.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.2346, allocations: 336.7 kB / 378.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.2347, allocations: 183 kB / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2347, allocations: 41.69 kB / 379.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.2347, allocations: 5.203 kB / 379.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002238/0.2369, allocations: 1.173 MB / 380.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.237, allocations: 119 kB / 380.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.2372, allocations: 278.6 kB / 380.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2373, allocations: 36.52 kB / 380.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2374, allocations: 297.1 kB / 381 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2375, allocations: 248.5 kB / 381.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.2376, allocations: 69.23 kB / 381.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.2377, allocations: 348.3 kB / 381.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.2381, allocations: 241.2 kB / 381.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.2386, allocations: 392 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.2396, allocations: 0.6548 MB / 382.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2396, allocations: 1.469 kB / 382.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00131/0.2409, allocations: 0.856 MB / 383.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.241, allocations: 11.52 kB / 383.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.241, allocations: 4.125 kB / 383.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.2413, allocations: 126.2 kB / 383.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.2419, allocations: 158.5 kB / 384.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.244, allocations: 3.414 MB / 387.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.2445, allocations: 97.69 kB / 387.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.2445, allocations: 31.92 kB / 387.6 MB, free: 8.445 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.0001846/0.2447, allocations: 196.7 kB / 387.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.2448, allocations: 39.28 kB / 387.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2462, allocations: 0.7743 MB / 388.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2462, allocations: 10.31 kB / 388.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2462, allocations: 6.359 kB / 388.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.2462, allocations: 4.609 kB / 388.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2484, allocations: 1.515 MB / 390.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2484, allocations: 1.734 kB / 390.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.2489, allocations: 113.7 kB / 390.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.2491, allocations: 110.2 kB / 390.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.2492, allocations: 17.36 kB / 390.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2509, allocations: 3.115 MB / 393.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2509, allocations: 1 kB / 393.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.2526, allocations: 1.154 MB / 394.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.2526, allocations: 127.7 kB / 394.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.2527, allocations: 15.12 kB / 394.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2531, allocations: 32.53 kB / 394.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2532, allocations: 55.75 kB / 394.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.2532, allocations: 23.77 kB / 394.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.2534, allocations: 198.5 kB / 395.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.2534, allocations: 0 / 395.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006694/0.254, allocations: 213.4 kB / 395.3 MB, free: 3.203 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.001882/0.2559, allocations: 1.745 MB / 397.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.2572, allocations: 0.9085 MB / 398 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2572, allocations: 1.25 kB / 398 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.2579, allocations: 0.5684 MB / 398.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2583, allocations: 39.66 kB / 398.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.2643, allocations: 5.166 MB / 403.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.2646, allocations: 0.8635 MB / 404.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.265, allocations: 84.62 kB / 404.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.2653, allocations: 198 kB / 404.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2653, allocations: 0 / 404.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.2855, allocations: 9.931 MB / 414.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.2857, allocations: 258.6 kB / 415.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.171, allocations: 6.594 kB / 415.1 MB, free: 4.168 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > 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