Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001424/0.001424, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.00167/0.00167, allocations: 168.8 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.014e-05, allocations: 2.281 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004796/0.004826, allocations: 2.814 MB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.006594, allocations: 0.7439 MB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.006945, allocations: 11.94 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.007234, allocations: 55.44 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.007627, allocations: 107 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.008075, allocations: 127.7 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006963/0.008771, allocations: 478.5 kB / 447 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.00906, allocations: 112.5 kB / 447.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.009631, allocations: 275.4 kB / 447.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.009962, allocations: 155.5 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.195e-05/0.01005, allocations: 36 kB / 447.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.01018, allocations: 48 kB / 447.6 MB, free: 460 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.01027, allocations: 87.64 kB / 447.7 MB, free: 372 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.01046, allocations: 139.7 kB / 447.8 MB, free: 232 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2218/0.2322, allocations: 482.2 kB / 448.3 MB, free: 16.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2322, allocations: 0 / 448.3 MB, free: 16.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2322, allocations: 1.25 kB / 448.3 MB, free: 16.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.2323, allocations: 1.469 kB / 448.3 MB, free: 16.23 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.0014/0.2337, allocations: 0.6316 MB / 448.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2337, allocations: 10.38 kB / 448.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.234, allocations: 63.73 kB / 449 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2343, allocations: 234.8 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2343, allocations: 31.12 kB / 449.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.2344, allocations: 37.41 kB / 449.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.2351, allocations: 347.3 kB / 449.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.2351, allocations: 4.703 kB / 449.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.2352, allocations: 20.34 kB / 449.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2352, allocations: 13.19 kB / 449.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.2358, allocations: 300.2 kB / 450 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2378, allocations: 1.126 MB / 451.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2383, allocations: 263.9 kB / 451.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.2386, allocations: 134.6 kB / 451.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2387, allocations: 3.781 kB / 451.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2387, allocations: 38.27 kB / 451.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.2387, allocations: 0 / 451.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008884/0.2396, allocations: 383.1 kB / 451.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2396, allocations: 59.47 kB / 452 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.2398, allocations: 233.5 kB / 452.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2398, allocations: 32.45 kB / 452.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.2399, allocations: 214.6 kB / 452.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.24, allocations: 120.6 kB / 452.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2401, allocations: 70.98 kB / 452.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.2402, allocations: 340.7 kB / 452.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.2404, allocations: 107.5 kB / 453 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.2407, allocations: 173 kB / 453.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.2412, allocations: 288.4 kB / 453.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2412, allocations: 0 / 453.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006729/0.2419, allocations: 368 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2419, allocations: 5.812 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2419, allocations: 1.25 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2419, allocations: 8.375 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.2424, allocations: 108.6 kB / 454 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.2424, allocations: 4.062 kB / 454 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2427, allocations: 40.52 kB / 454 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.2428, allocations: 11.19 kB / 454 MB, free: 13.58 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.0001303/0.2429, allocations: 155.1 kB / 454.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.243, allocations: 28.72 kB / 454.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/0.2436, allocations: 328.5 kB / 454.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2436, allocations: 7.938 kB / 454.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2436, allocations: 0 / 454.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2436, allocations: 4.109 kB / 454.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.244, allocations: 282.8 kB / 454.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.244, allocations: 0.5625 kB / 454.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.2445, allocations: 82.34 kB / 454.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2445, allocations: 1.062 kB / 454.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2445, allocations: 9.547 kB / 454.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2445, allocations: 1.844 kB / 454.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2445, allocations: 7.938 kB / 454.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.2453, allocations: 0.5098 MB / 455.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2454, allocations: 55.7 kB / 455.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.2455, allocations: 7.016 kB / 455.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.2457, allocations: 12.19 kB / 455.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.2458, allocations: 26.8 kB / 455.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2458, allocations: 5.875 kB / 455.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.246, allocations: 169.7 kB / 455.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.246, allocations: 4 kB / 455.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.2463, allocations: 91.86 kB / 455.8 MB, free: 12.61 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 9.934e-05/0.2464, allocations: 105.5 kB / 455.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.247, allocations: 258.4 kB / 456.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.247, allocations: 1.188 kB / 456.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.2473, allocations: 130.5 kB / 456.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2476, allocations: 29.66 kB / 456.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2489, allocations: 0.6919 MB / 457 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2491, allocations: 178.9 kB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.2493, allocations: 34.62 kB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2494, allocations: 27.45 kB / 457.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2494, allocations: 4 kB / 457.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.007403/0.2568, allocations: 2.443 MB / 459.7 MB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.119393058121204]