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.001788/0.001788, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.001767/0.001767, allocations: 164.3 kB / 25.02 MB, free: 9.438 MB / 18.57 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.475/1.475, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.578e-05, allocations: 6.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01174/0.01177, allocations: 3.881 MB / 254.3 MB, free: 24 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.01739, allocations: 1.601 MB / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.0178, allocations: 12 kB / 255.9 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.02213, allocations: 0.9913 MB / 256.9 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.0233, allocations: 262 kB / 257.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.02626, allocations: 0.7277 MB / 257.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.02763, allocations: 0.6529 MB / 258.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.02888, allocations: 473.3 kB / 259 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.03, allocations: 403 kB / 259.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.03075, allocations: 279.2 kB / 259.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.0309, allocations: 60 kB / 259.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/0.03183, allocations: 255.6 kB / 259.9 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.03206, allocations: 147.4 kB / 260.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.0325, allocations: 215.4 kB / 260.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.0346, allocations: 0.9928 MB / 261.3 MB, free: 8.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03461, allocations: 0 / 261.3 MB, free: 8.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.03461, allocations: 0 / 261.3 MB, free: 8.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.03462, allocations: 0 / 261.3 MB, free: 8.957 MB / 250.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.006847/0.04147, allocations: 1.192 MB / 262.5 MB, free: 7.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.04153, allocations: 11.98 kB / 262.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.04451, allocations: 351.9 kB / 262.8 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.04486, allocations: 185 kB / 263 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.04496, allocations: 54.38 kB / 263.1 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.04521, allocations: 76.31 kB / 263.1 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.04804, allocations: 0.7916 MB / 263.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.04808, allocations: 192 / 263.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.0482, allocations: 28.38 kB / 264 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.04825, allocations: 23.94 kB / 264 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.05111, allocations: 0.6649 MB / 264.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007701/0.05882, allocations: 2.212 MB / 266.9 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.06101, allocations: 0.8078 MB / 267.7 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.06172, allocations: 295.5 kB / 268 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.06182, allocations: 24.64 kB / 268 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.06187, allocations: 43.22 kB / 268 MB, free: 2.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.06187, allocations: 0 / 268 MB, free: 2.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002878/0.06475, allocations: 1.003 MB / 269 MB, free: 1.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.06484, allocations: 111.5 kB / 269.1 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.06518, allocations: 273.5 kB / 269.4 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.06523, allocations: 33.7 kB / 269.4 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.0655, allocations: 304.4 kB / 269.7 MB, free: 264 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.06576, allocations: 253.8 kB / 270 MB, free: 8 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.066, allocations: 138.6 kB / 270.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.06622, allocations: 346.8 kB / 270.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.0668, allocations: 233.9 kB / 270.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.06754, allocations: 408 kB / 271.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.0689, allocations: 0.6376 MB / 271.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.0689, allocations: 0 / 271.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001947/0.07085, allocations: 0.862 MB / 272.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.07087, allocations: 8 kB / 272.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.07089, allocations: 7.938 kB / 272.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008688/0.07175, allocations: 177.7 kB / 272.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.07245, allocations: 155.8 kB / 272.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.07663, allocations: 3.528 MB / 276.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.07719, allocations: 91.5 kB / 276.5 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.07726, allocations: 35.98 kB / 276.6 MB, free: 9.066 MB / 266.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 (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.0003152/0.07757, allocations: 201.6 kB / 276.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.07772, allocations: 59.77 kB / 276.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.0795, allocations: 0.7375 MB / 277.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.07951, allocations: 11.98 kB / 277.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.07952, allocations: 8.219 kB / 277.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.07953, allocations: 0 / 277.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.08229, allocations: 1.286 MB / 278.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.0823, allocations: 7.938 kB / 278.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.08285, allocations: 115.9 kB / 279 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/0.08359, allocations: 161.5 kB / 279.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.08364, allocations: 20 kB / 279.2 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.08723, allocations: 3.085 MB / 282.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.08723, allocations: 8.094 kB / 282.3 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.08958, allocations: 1.133 MB / 283.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.08969, allocations: 51.72 kB / 283.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.08977, allocations: 19.94 kB / 283.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.09018, allocations: 23.98 kB / 283.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.09033, allocations: 56.55 kB / 283.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.09038, allocations: 19.98 kB / 283.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.09059, allocations: 181.2 kB / 283.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09059, allocations: 0 / 283.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008711/0.09146, allocations: 219.6 kB / 284 MB, free: 1.379 MB / 266.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 (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.0002987/0.09176, allocations: 151 kB / 284.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.09366, allocations: 0.8518 MB / 285 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.09366, allocations: 0 / 285 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.09467, allocations: 0.5318 MB / 285.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.0952, allocations: 52.42 kB / 285.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.09771, allocations: 1.101 MB / 286.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.09804, allocations: 265.5 kB / 286.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.0984, allocations: 80.33 kB / 287 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.09855, allocations: 44.48 kB / 287 MB, free: 14.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.09855, allocations: 0 / 287 MB, free: 14.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01437/0.1129, allocations: 6.002 MB / 293 MB, free: 8.211 MB / 282.7 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/jenkins/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/jenkins/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: 4.793261551996693]