Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001015/0.001015, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001113/0.001113, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9248/0.9248, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.666e-05, allocations: 3.578 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002844/0.002861, allocations: 2.991 MB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.00397, allocations: 0.7673 MB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.004109, allocations: 4 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.00426, allocations: 63.38 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.004425, allocations: 103 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.004689, allocations: 131.7 kB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.005062, allocations: 478.5 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.005243, allocations: 108.5 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.005555, allocations: 279.4 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.005708, allocations: 155.5 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.005751, allocations: 36 kB / 384.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.005823, allocations: 44 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.005873, allocations: 91.64 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.00596, allocations: 147.6 kB / 384.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.006226, allocations: 306.8 kB / 384.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.006228, allocations: 8 kB / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006229, allocations: 0 / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006233, allocations: 0 / 384.9 MB, free: 12.13 MB / 362.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.0007665/0.007, allocations: 0.7416 MB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.007035, allocations: 11.97 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.007202, allocations: 88.64 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.00743, allocations: 235.9 kB / 386 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.007449, allocations: 29.38 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.00749, allocations: 40.38 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.007755, allocations: 239.8 kB / 386.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.007771, allocations: 192 / 386.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.007793, allocations: 20.36 kB / 386.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.007804, allocations: 15.94 kB / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.007956, allocations: 126.9 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.009073, allocations: 1.113 MB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.009253, allocations: 165.8 kB / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.009334, allocations: 80.16 kB / 387.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.009356, allocations: 8.281 kB / 387.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.009377, allocations: 41.61 kB / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.009378, allocations: 0 / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002862/0.009664, allocations: 227.6 kB / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.009689, allocations: 59.34 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.009836, allocations: 284.1 kB / 388.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.009853, allocations: 29.7 kB / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.009948, allocations: 263.3 kB / 388.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.01001, allocations: 122.9 kB / 388.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.01008, allocations: 75.81 kB / 388.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.0102, allocations: 0.5117 MB / 389.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.01025, allocations: 40.95 kB / 389.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.01035, allocations: 134.7 kB / 389.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.01051, allocations: 195.2 kB / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01051, allocations: 0 / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002504/0.01076, allocations: 258.4 kB / 390 MB, free: 6.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01078, allocations: 8 kB / 390 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01078, allocations: 0 / 390 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01079, allocations: 7.938 kB / 390 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.01102, allocations: 104.1 kB / 390.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01103, allocations: 4 kB / 390.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01113, allocations: 35.77 kB / 390.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.01114, allocations: 12 kB / 390.1 MB, free: 6.559 MB / 362.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 9.068e-05/0.01123, allocations: 180.4 kB / 390.3 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.01127, allocations: 39.81 kB / 390.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.0115, allocations: 217.7 kB / 390.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01151, allocations: 7.938 kB / 390.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01151, allocations: 0 / 390.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01151, allocations: 4 kB / 390.6 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.01173, allocations: 240.9 kB / 390.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01173, allocations: 0 / 390.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.01192, allocations: 79.83 kB / 390.9 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.01192, allocations: 0 / 390.9 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01193, allocations: 11.98 kB / 390.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01193, allocations: 0 / 390.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01193, allocations: 0 / 390.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.01224, allocations: 408 kB / 391.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.0123, allocations: 47.77 kB / 391.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.01232, allocations: 12.02 kB / 391.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.01241, allocations: 8 kB / 391.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.01244, allocations: 23.95 kB / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.01245, allocations: 7.938 kB / 391.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.01252, allocations: 189.1 kB / 391.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01252, allocations: 0 / 391.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.01275, allocations: 103.7 kB / 391.7 MB, free: 4.953 MB / 362.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 6.926e-05/0.01281, allocations: 99.19 kB / 391.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.013, allocations: 168.5 kB / 392 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.013, allocations: 0 / 392 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.01308, allocations: 95.66 kB / 392 MB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01329, allocations: 28.48 kB / 392.1 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.01403, allocations: 0.6705 MB / 392.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.01408, allocations: 96.75 kB / 392.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.01418, allocations: 38.94 kB / 392.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.01429, allocations: 110.2 kB / 393 MB, free: 3.594 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01429, allocations: 0 / 393 MB, free: 3.594 MB / 362.7 MB Notification: Performance of Templates: time 0.004258/0.01855, allocations: 2.657 MB / 395.6 MB, free: 0.9688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/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: 2.8281906209886074]