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.001411/0.001411, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001506/0.001506, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.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.2283/0.2283, allocations: 46.96 MB / 361.6 MB, free: 4.066 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 0.002059/0.002059, allocations: 67.89 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004375/0.313, allocations: 2.793 MB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3145, allocations: 0.7515 MB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3147, allocations: 7.938 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3149, allocations: 63.38 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3151, allocations: 99.11 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3154, allocations: 115.8 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.316, allocations: 466.6 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.3162, allocations: 124.4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.3165, allocations: 191.3 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.3168, allocations: 203.1 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.3169, allocations: 40 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.317, allocations: 47.98 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.317, allocations: 95.61 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.3172, allocations: 167.2 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.3178, allocations: 476.7 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3178, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3178, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3178, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.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.001514/0.3193, allocations: 0.6379 MB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3194, allocations: 8.031 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.3196, allocations: 60.64 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.3201, allocations: 249.9 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3201, allocations: 29.38 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.3202, allocations: 36.38 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.3209, allocations: 342.8 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3209, allocations: 4 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.321, allocations: 12 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.321, allocations: 12 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.3216, allocations: 299.8 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3238, allocations: 1.151 MB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.3243, allocations: 249.5 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3246, allocations: 137.4 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3247, allocations: 12.16 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3247, allocations: 34.84 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/0.3247, allocations: 3.984 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008985/0.3256, allocations: 371.6 kB / 0.5708 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3256, allocations: 59.34 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3259, allocations: 232.8 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3259, allocations: 33.7 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3261, allocations: 212.6 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3262, allocations: 126.9 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3263, allocations: 70.12 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3265, allocations: 338.8 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.3267, allocations: 100.8 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.327, allocations: 179.4 kB / 0.5721 GB, free: 9.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.3276, allocations: 284.7 kB / 0.5724 GB, free: 9.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3276, allocations: 0 / 0.5724 GB, free: 9.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006927/0.3283, allocations: 370.3 kB / 0.5727 GB, free: 8.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3283, allocations: 7.984 kB / 0.5727 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3283, allocations: 4 kB / 0.5727 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3283, allocations: 4 kB / 0.5727 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.3288, allocations: 99.81 kB / 0.5728 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3289, allocations: 12.2 kB / 0.5728 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.3291, allocations: 43.72 kB / 0.5729 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.3292, allocations: 19.92 kB / 0.5729 GB, free: 8.543 MB / 414.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.0001626/0.3293, allocations: 149.7 kB / 0.573 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.3294, allocations: 31.8 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.3301, allocations: 321.2 kB / 0.5734 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3301, allocations: 4 kB / 0.5734 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3301, allocations: 4 kB / 0.5734 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3301, allocations: 0 / 0.5734 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.3305, allocations: 288.9 kB / 0.5737 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3305, allocations: 0 / 0.5737 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.3309, allocations: 79.88 kB / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3309, allocations: 3.938 kB / 0.5737 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.331, allocations: 8 kB / 0.5737 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.331, allocations: 0 / 0.5737 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.331, allocations: 0 / 0.5737 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.3319, allocations: 0.5226 MB / 0.5743 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.332, allocations: 47.72 kB / 0.5743 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.332, allocations: 8 kB / 0.5743 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3323, allocations: 11.94 kB / 0.5743 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3323, allocations: 23.95 kB / 0.5743 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3324, allocations: 12 kB / 0.5744 GB, free: 6.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3325, allocations: 168.4 kB / 0.5745 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 0.5745 GB, free: 6.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.3329, allocations: 103.7 kB / 0.5746 GB, free: 6.723 MB / 414.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.0001299/0.333, allocations: 103.3 kB / 0.5747 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.3336, allocations: 255.6 kB / 0.575 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3336, allocations: 0 / 0.575 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.3339, allocations: 127.8 kB / 0.5751 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3342, allocations: 31.52 kB / 0.5751 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3357, allocations: 0.7609 MB / 0.5758 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.3359, allocations: 181.5 kB / 0.576 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.336, allocations: 30.95 kB / 0.5761 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.3361, allocations: 31.42 kB / 0.5761 GB, free: 5.156 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3361, allocations: 0 / 0.5761 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Templates: time 0.007381/0.3435, allocations: 2.951 MB / 0.579 GB, free: 2.242 MB / 414.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/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.010602866008412]