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.001416/0.001416, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001526/0.001526, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.634/1.634, allocations: 177.1 MB / 204.7 MB, free: 8.957 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.2285/0.2285, allocations: 34.27 MB / 295.4 MB, free: 14.47 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 0.002536/0.002536, allocations: 79.88 kB / 443.1 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3798, allocations: 66.04 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003329/0.3832, allocations: 2.808 MB / 0.5 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3843, allocations: 0.7552 MB / 0.5007 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3844, allocations: 6.375 kB / 0.5007 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3846, allocations: 52.62 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3847, allocations: 112.5 kB / 0.5009 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.385, allocations: 110.4 kB / 0.501 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.3854, allocations: 472.3 kB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.3856, allocations: 104.6 kB / 0.5016 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.3858, allocations: 194.2 kB / 0.5017 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.386, allocations: 187.8 kB / 0.5019 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.3861, allocations: 38.28 kB / 0.502 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.3862, allocations: 41.25 kB / 0.502 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.3862, allocations: 93.41 kB / 0.5021 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3863, allocations: 176.9 kB / 0.5023 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.3867, allocations: 473.5 kB / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3867, allocations: 0 / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3867, allocations: 0 / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3867, allocations: 0 / 0.5027 GB, free: 26.41 MB / 446.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.001211/0.3879, allocations: 0.6465 MB / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.388, allocations: 10.28 kB / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.3882, allocations: 57.3 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3886, allocations: 237.5 kB / 0.5036 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3886, allocations: 33.94 kB / 0.5037 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.3887, allocations: 36.56 kB / 0.5037 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.3892, allocations: 347.8 kB / 0.504 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.3892, allocations: 0 / 0.504 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3893, allocations: 15.03 kB / 0.504 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3893, allocations: 12.06 kB / 0.5041 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.3898, allocations: 303.7 kB / 0.5043 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.3916, allocations: 1.138 MB / 0.5055 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.392, allocations: 253.1 kB / 0.5057 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.3923, allocations: 138 kB / 0.5058 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3923, allocations: 7.438 kB / 0.5058 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.3923, allocations: 41.19 kB / 0.5059 GB, free: 24.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.245e-06/0.3923, allocations: 3.984 kB / 0.5059 GB, free: 24.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007507/0.3931, allocations: 367.7 kB / 0.5062 GB, free: 24.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.3931, allocations: 66 kB / 0.5063 GB, free: 24.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3933, allocations: 237.3 kB / 0.5065 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3933, allocations: 29.7 kB / 0.5065 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.3934, allocations: 204.7 kB / 0.5067 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.3934, allocations: 135 kB / 0.5069 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.3935, allocations: 69.33 kB / 0.5069 GB, free: 23.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.3936, allocations: 339.1 kB / 0.5073 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3938, allocations: 104.8 kB / 0.5074 GB, free: 23.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.394, allocations: 174.3 kB / 0.5075 GB, free: 23.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.3944, allocations: 285.7 kB / 0.5078 GB, free: 23.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3944, allocations: 0 / 0.5078 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005591/0.395, allocations: 376.2 kB / 0.5082 GB, free: 22.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.395, allocations: 6.031 kB / 0.5082 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.395, allocations: 10.3 kB / 0.5082 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.395, allocations: 3.031 kB / 0.5082 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3955, allocations: 100.4 kB / 0.5083 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3955, allocations: 3.219 kB / 0.5083 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.3958, allocations: 43.2 kB / 0.5083 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.3958, allocations: 20.19 kB / 0.5083 GB, free: 22.86 MB / 446.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.0001096/0.3959, allocations: 152.7 kB / 0.5085 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.3959, allocations: 27.92 kB / 0.5085 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.3965, allocations: 321 kB / 0.5088 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3965, allocations: 3.031 kB / 0.5088 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3965, allocations: 3.062 kB / 0.5088 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3965, allocations: 7.562 kB / 0.5088 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.3968, allocations: 279.7 kB / 0.5091 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3968, allocations: 0 / 0.5091 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.3973, allocations: 81.47 kB / 0.5092 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3973, allocations: 6.906 kB / 0.5092 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3973, allocations: 4 kB / 0.5092 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3973, allocations: 3.031 kB / 0.5092 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3973, allocations: 0 / 0.5092 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.398, allocations: 0.517 MB / 0.5097 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.3981, allocations: 51.59 kB / 0.5097 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3981, allocations: 15.14 kB / 0.5098 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3984, allocations: 13.47 kB / 0.5098 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.3984, allocations: 20.33 kB / 0.5098 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3985, allocations: 6.031 kB / 0.5098 GB, free: 22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3986, allocations: 168.2 kB / 0.51 GB, free: 21.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3986, allocations: 0 / 0.51 GB, free: 21.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.3989, allocations: 97.59 kB / 0.51 GB, free: 21.88 MB / 446.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.146e-05/0.399, allocations: 102.9 kB / 0.5101 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3995, allocations: 259.6 kB / 0.5104 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3995, allocations: 0 / 0.5104 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3997, allocations: 123.7 kB / 0.5105 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4, allocations: 30.47 kB / 0.5105 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4013, allocations: 0.759 MB / 0.5113 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.4015, allocations: 178.5 kB / 0.5114 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.4017, allocations: 38.23 kB / 0.5115 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.4018, allocations: 31.98 kB / 0.5115 GB, free: 21.06 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4018, allocations: 3.938 kB / 0.5115 GB, free: 21.06 MB / 446.1 MB Notification: Performance of Templates: time 0.006924/0.4087, allocations: 2.449 MB / 0.5139 GB, free: 20.71 MB / 446.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 -s ida -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/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_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.3266855059191585]