Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.000753/0.000753, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.0009023/0.0009023, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.145/0.145, allocations: 32.38 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.65e-05, allocations: 2.312 kB / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003438/0.003464, allocations: 2.983 MB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.00474, allocations: 0.7567 MB / 351.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.004925, allocations: 4 kB / 351.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.005118, allocations: 63.31 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.005295, allocations: 111 kB / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.005629, allocations: 115.8 kB / 351.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.005991, allocations: 486.4 kB / 352.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.006242, allocations: 96.53 kB / 352.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.006505, allocations: 279.4 kB / 352.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.006711, allocations: 155.5 kB / 352.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.006784, allocations: 44 kB / 352.7 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.006834, allocations: 40 kB / 352.7 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.006911, allocations: 91.66 kB / 352.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.007035, allocations: 135.6 kB / 353 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.007414, allocations: 310.8 kB / 353.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.007418, allocations: 0 / 353.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.00742, allocations: 3.938 kB / 353.3 MB, free: 4.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.007428, allocations: 0 / 353.3 MB, free: 4.129 MB / 282.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.001008/0.008436, allocations: 0.7335 MB / 354 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.0085, allocations: 12.03 kB / 354 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.008615, allocations: 76.66 kB / 354.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.008908, allocations: 228 kB / 354.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.008929, allocations: 29.38 kB / 354.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.00898, allocations: 44.3 kB / 354.4 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.009327, allocations: 271.8 kB / 354.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.009344, allocations: 192 / 354.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.009369, allocations: 20.38 kB / 354.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.009383, allocations: 11.94 kB / 354.7 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.00962, allocations: 165.9 kB / 354.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01087, allocations: 1.16 MB / 356 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.01113, allocations: 178.5 kB / 356.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.01125, allocations: 100.1 kB / 356.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.01128, allocations: 4.281 kB / 356.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.0113, allocations: 41.67 kB / 356.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 3.887e-06/0.0113, allocations: 0 / 356.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003938/0.0117, allocations: 270.6 kB / 356.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01173, allocations: 55.41 kB / 356.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.01187, allocations: 280.2 kB / 356.9 MB, free: 280 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01188, allocations: 29.7 kB / 356.9 MB, free: 244 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.012, allocations: 255.5 kB / 357.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.01208, allocations: 122.9 kB / 357.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.01217, allocations: 83.83 kB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01234, allocations: 0.5001 MB / 357.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01244, allocations: 52.97 kB / 357.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.01259, allocations: 142.8 kB / 358.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.01285, allocations: 223.2 kB / 358.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01285, allocations: 0 / 358.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003497/0.0132, allocations: 286.6 kB / 358.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01322, allocations: 8.031 kB / 358.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01323, allocations: 7.75 kB / 358.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.01325, allocations: 4 kB / 358.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.01353, allocations: 103.8 kB / 358.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01353, allocations: 4 kB / 358.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01365, allocations: 35.73 kB / 358.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01367, allocations: 15.98 kB / 358.8 MB, free: 14.33 MB / 298.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 0.0001178/0.01378, allocations: 180.5 kB / 358.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01383, allocations: 31.86 kB / 359 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.01417, allocations: 260 kB / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01417, allocations: 4 kB / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01418, allocations: 0 / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01418, allocations: 0 / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.01445, allocations: 280.3 kB / 359.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01445, allocations: 0 / 359.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.01467, allocations: 79.89 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01467, allocations: 3.984 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01469, allocations: 8 kB / 359.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01469, allocations: 7.938 kB / 359.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01469, allocations: 0 / 359.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.01516, allocations: 431.1 kB / 360 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.01524, allocations: 47.75 kB / 360.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.01527, allocations: 4 kB / 360.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01538, allocations: 11.94 kB / 360.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.01545, allocations: 23.95 kB / 360.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01547, allocations: 12 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.0156, allocations: 193.1 kB / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0156, allocations: 0 / 360.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01585, allocations: 103.7 kB / 360.4 MB, free: 12.61 MB / 298.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 0.0001232/0.01597, allocations: 107.2 kB / 360.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.01626, allocations: 192.8 kB / 360.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01626, allocations: 0 / 360.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01637, allocations: 95.44 kB / 360.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01663, allocations: 32.48 kB / 360.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.01761, allocations: 0.6871 MB / 361.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.01768, allocations: 92.81 kB / 361.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01779, allocations: 30.95 kB / 361.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.01787, allocations: 28.48 kB / 361.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01787, allocations: 0 / 361.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Templates: time 0.005289/0.02316, allocations: 2.487 MB / 364.1 MB, free: 8.828 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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: 3.269058054080233]