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.001707/0.001707, allocations: 88.67 kB / 20.68 MB, free: 1.023 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.001937/0.001937, allocations: 157.8 kB / 23.95 MB, free: 4.152 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.57/1.57, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.2228/0.2228, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.954e-06/1.954e-06, allocations: 0 / 442.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.296e-05, allocations: 2.281 kB / 442.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004913/0.004946, allocations: 2.812 MB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.006777, allocations: 0.7439 MB / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.007076, allocations: 11.94 kB / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.007346, allocations: 59.38 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.007691, allocations: 111 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.008102, allocations: 115.8 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.008794, allocations: 490.5 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.009059, allocations: 100.5 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.009627, allocations: 283.4 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.009944, allocations: 151.5 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.01003, allocations: 40 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.01014, allocations: 44 kB / 447.6 MB, free: 332 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.01025, allocations: 91.64 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.01044, allocations: 139.6 kB / 447.8 MB, free: 100 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2112/0.2216, allocations: 487.9 kB / 448.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2216, allocations: 0 / 448.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2216, allocations: 0 / 448.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2216, allocations: 4.719 kB / 448.3 MB, free: 15.91 MB / 366.1 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.001292/0.2229, allocations: 0.6353 MB / 448.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2229, allocations: 9.562 kB / 448.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.2232, allocations: 58.94 kB / 449 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.2236, allocations: 233.4 kB / 449.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2236, allocations: 28.31 kB / 449.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.2237, allocations: 40.06 kB / 449.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.2243, allocations: 342 kB / 449.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.2243, allocations: 4.141 kB / 449.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.2244, allocations: 17.95 kB / 449.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2244, allocations: 14.12 kB / 449.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/0.225, allocations: 308.1 kB / 450 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.2271, allocations: 1.127 MB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.2277, allocations: 258.8 kB / 451.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.228, allocations: 144.3 kB / 451.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.228, allocations: 2.875 kB / 451.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2281, allocations: 36.67 kB / 451.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.2281, allocations: 1.078 kB / 451.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008552/0.2289, allocations: 378.9 kB / 451.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2289, allocations: 62.47 kB / 451.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.2292, allocations: 235.4 kB / 452.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2292, allocations: 32.98 kB / 452.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.2293, allocations: 214.1 kB / 452.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.2294, allocations: 124.2 kB / 452.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2295, allocations: 70.61 kB / 452.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2295, allocations: 334.7 kB / 452.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.2298, allocations: 105.8 kB / 453 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.23, allocations: 175.9 kB / 453.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.2305, allocations: 283.2 kB / 453.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2305, allocations: 0 / 453.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005995/0.2311, allocations: 371.3 kB / 453.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2311, allocations: 5.5 kB / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2311, allocations: 2.75 kB / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2312, allocations: 8.047 kB / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.2316, allocations: 107.4 kB / 454 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2317, allocations: 8.156 kB / 454 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.2319, allocations: 35.22 kB / 454 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.2319, allocations: 15.62 kB / 454 MB, free: 13.24 MB / 366.1 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.000125/0.2321, allocations: 147.8 kB / 454.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.2321, allocations: 29.23 kB / 454.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.2328, allocations: 323.7 kB / 454.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2329, allocations: 11.56 kB / 454.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2329, allocations: 4.375 kB / 454.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2329, allocations: 5.969 kB / 454.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.2332, allocations: 281.9 kB / 454.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2332, allocations: 0 / 454.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.2337, allocations: 84.25 kB / 454.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2337, allocations: 2.5 kB / 454.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.2337, allocations: 6.375 kB / 454.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2337, allocations: 1.281 kB / 454.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2337, allocations: 8.844 kB / 454.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008105/0.2345, allocations: 0.5084 MB / 455.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.2346, allocations: 50.83 kB / 455.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.2346, allocations: 6.125 kB / 455.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2349, allocations: 16 kB / 455.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.2349, allocations: 25.95 kB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.235, allocations: 10.58 kB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.2351, allocations: 165.9 kB / 455.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2351, allocations: 1.281 kB / 455.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000396/0.2355, allocations: 94.78 kB / 455.8 MB, free: 12.27 MB / 366.1 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 0.0001136/0.2356, allocations: 108.6 kB / 455.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005984/0.2362, allocations: 257.5 kB / 456.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2362, allocations: 0 / 456.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.2365, allocations: 126.4 kB / 456.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2368, allocations: 34.89 kB / 456.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2381, allocations: 0.6817 MB / 457 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2383, allocations: 182.1 kB / 457.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.2385, allocations: 34.69 kB / 457.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2386, allocations: 26.62 kB / 457.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2386, allocations: 0 / 457.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Templates: time 0.00735/0.2459, allocations: 2.452 MB / 459.7 MB, free: 11.24 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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: 5.234587166458368]