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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 109.8 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.7 MB / 236.1 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.86 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 49.15 MB / 397.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005283/0.3031, allocations: 3.875 MB / 401.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.3062, allocations: 1.587 MB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3065, allocations: 12.09 kB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.3088, allocations: 0.953 MB / 404 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007843/0.3096, allocations: 253.2 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3111, allocations: 0.7177 MB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.3119, allocations: 0.6384 MB / 405.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007963/0.3127, allocations: 473.9 kB / 406.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.3131, allocations: 283.2 kB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.3136, allocations: 314.5 kB / 406.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.008e-05/0.3137, allocations: 56.03 kB / 406.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.3144, allocations: 252.6 kB / 407 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3145, allocations: 139.5 kB / 407.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3147, allocations: 267.7 kB / 407.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.316, allocations: 0.958 MB / 408.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.316, allocations: 1.375 kB / 408.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.316, allocations: 4 kB / 408.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.316, allocations: 0 / 408.3 MB, free: 3.059 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.003528/0.3195, allocations: 1.199 MB / 409.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3196, allocations: 13.89 kB / 409.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.3209, allocations: 209.2 kB / 409.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3211, allocations: 196.6 kB / 410 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.3212, allocations: 56.47 kB / 410 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3213, allocations: 72.09 kB / 410.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3226, allocations: 0.7912 MB / 410.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3227, allocations: 13.22 kB / 410.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.3227, allocations: 25.88 kB / 410.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3228, allocations: 21.64 kB / 410.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.324, allocations: 0.6696 MB / 411.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.3276, allocations: 2.16 MB / 413.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.3295, allocations: 0.8195 MB / 414.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.3301, allocations: 282.9 kB / 414.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.3302, allocations: 22.33 kB / 414.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3303, allocations: 43.25 kB / 414.9 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.076e-06/0.3303, allocations: 5.281 kB / 414.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002661/0.3329, allocations: 0.97 MB / 415.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.333, allocations: 115.7 kB / 416 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.3333, allocations: 268 kB / 416.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3334, allocations: 36.61 kB / 416.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3336, allocations: 310 kB / 416.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3338, allocations: 258.7 kB / 416.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3341, allocations: 139.3 kB / 417 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3342, allocations: 354.9 kB / 417.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.3348, allocations: 225.9 kB / 417.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.3355, allocations: 410.2 kB / 418 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3367, allocations: 0.6361 MB / 418.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3367, allocations: 5.641 kB / 418.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00182/0.3385, allocations: 0.8265 MB / 419.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3385, allocations: 7.125 kB / 419.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3386, allocations: 4.062 kB / 419.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.339, allocations: 126.6 kB / 419.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.3397, allocations: 161.7 kB / 419.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.3438, allocations: 3.51 MB / 423.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.3445, allocations: 87.08 kB / 423.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.3446, allocations: 33.94 kB / 423.4 MB, free: 8.488 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.0004062/0.345, allocations: 199.7 kB / 423.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3451, allocations: 42.53 kB / 423.6 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3468, allocations: 0.7491 MB / 424.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3468, allocations: 7.562 kB / 424.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3468, allocations: 2.688 kB / 424.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3468, allocations: 5.141 kB / 424.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.3496, allocations: 1.287 MB / 425.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3496, allocations: 0 / 425.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.3501, allocations: 107.9 kB / 425.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.3504, allocations: 113.6 kB / 425.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.3504, allocations: 15.94 kB / 425.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003215/0.3537, allocations: 3.088 MB / 429 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3537, allocations: 0 / 429 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.3559, allocations: 1.121 MB / 430.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3561, allocations: 51.56 kB / 430.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.3561, allocations: 15.98 kB / 430.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.3565, allocations: 27.98 kB / 430.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3567, allocations: 60.48 kB / 430.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.3567, allocations: 19.98 kB / 430.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.3569, allocations: 176.5 kB / 430.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3569, allocations: 8 kB / 430.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009191/0.3578, allocations: 219.6 kB / 430.7 MB, free: 1.262 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.0003026/0.3581, allocations: 143.1 kB / 430.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.36, allocations: 0.8445 MB / 431.6 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.36, allocations: 0 / 431.6 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.3609, allocations: 0.5446 MB / 432.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3615, allocations: 36.44 kB / 432.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3639, allocations: 1.154 MB / 433.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3642, allocations: 261.5 kB / 433.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3644, allocations: 55.41 kB / 433.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3644, allocations: 4 kB / 433.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.01754/0.382, allocations: 11.76 MB / 445.4 MB, free: 2.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.997135450132191]