Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.00115/0.00115, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001284/0.001284, allocations: 167.6 kB / 24.83 MB, free: 9.301 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 0.9668/0.9668, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.331e-05, allocations: 2.312 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004131/0.004154, allocations: 2.945 MB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005704, allocations: 0.7567 MB / 352.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.005925, allocations: 4 kB / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.006132, allocations: 59.38 kB / 352.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.006378, allocations: 111 kB / 352.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.006705, allocations: 111.8 kB / 352.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.007161, allocations: 494.4 kB / 353.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.007399, allocations: 92.53 kB / 353.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.007771, allocations: 283.4 kB / 353.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.007993, allocations: 155.5 kB / 353.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.008052, allocations: 40 kB / 353.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.008108, allocations: 40 kB / 354 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.008174, allocations: 91.66 kB / 354 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.008299, allocations: 143.6 kB / 354.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.008654, allocations: 306.8 kB / 354.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008656, allocations: 0 / 354.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008657, allocations: 0 / 354.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.008664, allocations: 0 / 354.5 MB, free: 3.562 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001068/0.009733, allocations: 0.7413 MB / 355.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.009772, allocations: 8.031 kB / 355.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.009879, allocations: 76.66 kB / 355.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.01018, allocations: 231.9 kB / 355.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.01021, allocations: 29.38 kB / 355.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.01027, allocations: 40.36 kB / 355.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.01066, allocations: 243.8 kB / 355.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.01068, allocations: 192 / 355.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.01071, allocations: 24.36 kB / 355.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01073, allocations: 11.94 kB / 355.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.01098, allocations: 130.9 kB / 356 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.01238, allocations: 1.109 MB / 357.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.01255, allocations: 167.4 kB / 357.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.01263, allocations: 76.22 kB / 357.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.01265, allocations: 4.281 kB / 357.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.01267, allocations: 45.66 kB / 357.4 MB, free: 492 kB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.01267, allocations: 0 / 357.4 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002827/0.01295, allocations: 230.6 kB / 357.6 MB, free: 256 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.01298, allocations: 55.41 kB / 357.7 MB, free: 188 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.01313, allocations: 284.1 kB / 358 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01314, allocations: 29.7 kB / 358 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01326, allocations: 259.3 kB / 358.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.01332, allocations: 126.9 kB / 358.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.0134, allocations: 79.81 kB / 358.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01353, allocations: 0.504 MB / 358.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.0136, allocations: 48.95 kB / 359 MB, free: 14.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.0137, allocations: 134.7 kB / 359.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01387, allocations: 191.3 kB / 359.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01387, allocations: 4 kB / 359.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002768/0.01415, allocations: 262.6 kB / 359.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01416, allocations: 11.94 kB / 359.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01417, allocations: 4 kB / 359.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01418, allocations: 3.938 kB / 359.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.01442, allocations: 103.8 kB / 359.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01442, allocations: 4 kB / 359.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01453, allocations: 39.72 kB / 359.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01455, allocations: 8 kB / 359.7 MB, free: 14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.01465, allocations: 184.4 kB / 359.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.01469, allocations: 35.86 kB / 360 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.01495, allocations: 232 kB / 360.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01495, allocations: 7.938 kB / 360.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01495, allocations: 0 / 360.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01496, allocations: 3.984 kB / 360.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01517, allocations: 229 kB / 360.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01517, allocations: 0 / 360.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.01536, allocations: 79.88 kB / 360.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01537, allocations: 4 kB / 360.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01538, allocations: 4 kB / 360.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01538, allocations: 8 kB / 360.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01538, allocations: 3.984 kB / 360.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.01572, allocations: 403 kB / 360.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.01578, allocations: 47.77 kB / 361 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01581, allocations: 11.95 kB / 361 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.0159, allocations: 8 kB / 361 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.01594, allocations: 19.95 kB / 361 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01595, allocations: 7.938 kB / 361 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.01604, allocations: 193 kB / 361.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01604, allocations: 4 kB / 361.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01626, allocations: 99.75 kB / 361.3 MB, free: 12.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.186e-05/0.01634, allocations: 99.25 kB / 361.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.01655, allocations: 172.8 kB / 361.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01655, allocations: 0 / 361.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.01663, allocations: 95.36 kB / 361.6 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01687, allocations: 30.83 kB / 361.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01797, allocations: 0.6707 MB / 362.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.01802, allocations: 96.75 kB / 362.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.01813, allocations: 34.95 kB / 362.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.01825, allocations: 110.2 kB / 362.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01825, allocations: 0 / 362.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Templates: time 0.004734/0.02298, allocations: 2.745 MB / 365.3 MB, free: 8.297 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.027427338063717]