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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.224, allocations: 53.41 MB / 432 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00631/0.2303, allocations: 4.376 MB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2337, allocations: 1.748 MB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.234, allocations: 12 kB / 438.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.2365, allocations: 1.038 MB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006154/0.2371, allocations: 254.2 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2386, allocations: 0.7665 MB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.2393, allocations: 0.6454 MB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.24, allocations: 462.4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.2403, allocations: 286.9 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.2408, allocations: 362.5 kB / 441.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.421e-05/0.2408, allocations: 56 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.2413, allocations: 287.7 kB / 442.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2415, allocations: 139.5 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.2417, allocations: 322.4 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2428, allocations: 0.9878 MB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2428, allocations: 0 / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2428, allocations: 0 / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2428, allocations: 0 / 443.7 MB, free: 10.98 MB / 350.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.003582/0.2464, allocations: 1.211 MB / 444.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2465, allocations: 12.03 kB / 444.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.949e-05/0.2465, allocations: 18.19 kB / 444.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.2466, allocations: 126.7 kB / 445 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.248, allocations: 196.4 kB / 445.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2482, allocations: 180.8 kB / 445.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.2482, allocations: 58.38 kB / 445.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2484, allocations: 76.36 kB / 445.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2497, allocations: 0.7737 MB / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.2498, allocations: 4 kB / 446.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.2498, allocations: 31.94 kB / 446.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.2499, allocations: 16 kB / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2512, allocations: 0.6649 MB / 447 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.2555, allocations: 2.876 MB / 449.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.2574, allocations: 0.8186 MB / 450.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.258, allocations: 303.7 kB / 451 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2581, allocations: 36.55 kB / 451.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2582, allocations: 39.22 kB / 451.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.2582, allocations: 0 / 451.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002546/0.2607, allocations: 0.9833 MB / 452.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.2608, allocations: 115.4 kB / 452.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.2611, allocations: 278 kB / 452.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.2611, allocations: 33.7 kB / 452.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2613, allocations: 312.3 kB / 452.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.2616, allocations: 261.8 kB / 453.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.2618, allocations: 134.6 kB / 453.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2619, allocations: 354.7 kB / 453.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.2624, allocations: 229.9 kB / 453.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.263, allocations: 386.3 kB / 454.1 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.2642, allocations: 0.6376 MB / 454.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2642, allocations: 0 / 454.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001694/0.2659, allocations: 0.8305 MB / 455.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.2659, allocations: 12.25 kB / 455.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2659, allocations: 8 kB / 455.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/0.2664, allocations: 121.6 kB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.267, allocations: 155.8 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.2706, allocations: 3.586 MB / 459.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.2712, allocations: 95.38 kB / 459.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.2712, allocations: 28 kB / 459.6 MB, free: 10.32 MB / 366.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.0002921/0.2715, allocations: 197.8 kB / 459.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.2716, allocations: 43.72 kB / 459.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.2732, allocations: 0.7413 MB / 460.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2733, allocations: 8 kB / 460.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2733, allocations: 4 kB / 460.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2733, allocations: 7.922 kB / 460.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.276, allocations: 1.457 MB / 462.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.276, allocations: 0 / 462.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.2765, allocations: 111.9 kB / 462.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.2768, allocations: 109.6 kB / 462.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.2768, allocations: 19.98 kB / 462.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.2797, allocations: 3.146 MB / 465.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2797, allocations: 3.938 kB / 465.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.2817, allocations: 1.121 MB / 466.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.2818, allocations: 47.67 kB / 466.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.2818, allocations: 19.94 kB / 466.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.2822, allocations: 27.98 kB / 466.7 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2824, allocations: 52.55 kB / 466.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.2824, allocations: 19.98 kB / 466.7 MB, free: 2.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.2826, allocations: 197.3 kB / 466.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2826, allocations: 3.938 kB / 466.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008184/0.2834, allocations: 219.6 kB / 467.1 MB, free: 2.438 MB / 366.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.002429/0.2858, allocations: 1.716 MB / 468.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.2875, allocations: 0.853 MB / 469.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2875, allocations: 0 / 469.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.2884, allocations: 0.5398 MB / 470.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2889, allocations: 39.88 kB / 470.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.2966, allocations: 4.752 MB / 475 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.2972, allocations: 0.8616 MB / 475.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.2975, allocations: 84.34 kB / 476 MB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.2978, allocations: 199.4 kB / 476.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2978, allocations: 0 / 476.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.357, allocations: 11.48 MB / 487.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.55, allocations: 9.297 kB / 487.7 MB, free: 13.73 MB / 398.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.030691972991917]