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.002108/0.002108, allocations: 79.75 kB / 20.51 MB, free: 1.121 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.00263/0.00263, allocations: 164.5 kB / 23.76 MB, free: 4.199 MB / 14.72 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.577/1.577, allocations: 158.6 MB / 185.5 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] 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.2649/0.2649, allocations: 32.37 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.91 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1561, allocations: 61.03 MB / 468.8 MB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005436/0.1615, allocations: 2.778 MB / 471.6 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1633, allocations: 0.7369 MB / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1634, allocations: 7.938 kB / 472.3 MB, free: 4.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1637, allocations: 67.38 kB / 472.4 MB, free: 4.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1639, allocations: 99.05 kB / 472.5 MB, free: 4.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1643, allocations: 115.8 kB / 472.6 MB, free: 4.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.1648, allocations: 466.7 kB / 473 MB, free: 4.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.1651, allocations: 100.5 kB / 473.1 MB, free: 3.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1654, allocations: 199.3 kB / 473.3 MB, free: 3.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.1657, allocations: 175.1 kB / 473.5 MB, free: 3.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.1658, allocations: 40 kB / 473.5 MB, free: 3.543 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.1659, allocations: 40 kB / 473.6 MB, free: 3.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.166, allocations: 91.61 kB / 473.7 MB, free: 3.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1662, allocations: 175.2 kB / 473.8 MB, free: 3.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.1668, allocations: 470 kB / 474.3 MB, free: 2.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1668, allocations: 0 / 474.3 MB, free: 2.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1668, allocations: 3.938 kB / 474.3 MB, free: 2.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1669, allocations: 0 / 474.3 MB, free: 2.777 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.001539/0.1684, allocations: 0.6418 MB / 474.9 MB, free: 2.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1684, allocations: 12.02 kB / 474.9 MB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.1685, allocations: 44.66 kB / 475 MB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.169, allocations: 233.6 kB / 475.2 MB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.1691, allocations: 33.38 kB / 475.3 MB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.1691, allocations: 40.38 kB / 475.3 MB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.1698, allocations: 346.8 kB / 475.6 MB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1698, allocations: 3.953 kB / 475.6 MB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1699, allocations: 16 kB / 475.7 MB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1699, allocations: 8 kB / 475.7 MB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.1705, allocations: 299.8 kB / 476 MB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3013/0.4718, allocations: 1.136 MB / 477.1 MB, free: 50.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.4723, allocations: 252.5 kB / 477.3 MB, free: 50.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.4726, allocations: 140.6 kB / 477.5 MB, free: 50.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.4726, allocations: 10.88 kB / 477.5 MB, free: 50.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4726, allocations: 37.22 kB / 477.5 MB, free: 50.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.966e-06/0.4727, allocations: 0 / 477.5 MB, free: 50.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007575/0.4734, allocations: 371.1 kB / 477.9 MB, free: 50.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4734, allocations: 64 kB / 477.9 MB, free: 50.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4736, allocations: 239.2 kB / 478.2 MB, free: 49.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4736, allocations: 30.52 kB / 478.2 MB, free: 49.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.4737, allocations: 216.2 kB / 478.4 MB, free: 49.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.4738, allocations: 121.2 kB / 478.5 MB, free: 49.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.4739, allocations: 71.81 kB / 478.6 MB, free: 49.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.4739, allocations: 340.5 kB / 478.9 MB, free: 49.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.4741, allocations: 100.1 kB / 479 MB, free: 49.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.4744, allocations: 177.4 kB / 479.2 MB, free: 49.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.4748, allocations: 288.2 kB / 479.5 MB, free: 49.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4748, allocations: 0 / 479.5 MB, free: 49.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005511/0.4754, allocations: 363.8 kB / 479.8 MB, free: 49.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4754, allocations: 6.094 kB / 479.9 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4754, allocations: 6.516 kB / 479.9 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.4754, allocations: 7.734 kB / 479.9 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.4759, allocations: 104 kB / 480 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4759, allocations: 6.781 kB / 480 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.4761, allocations: 43.31 kB / 480 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.4761, allocations: 9.188 kB / 480 MB, free: 49.23 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.000121/0.4763, allocations: 152.6 kB / 480.2 MB, free: 49.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.4763, allocations: 31.44 kB / 480.2 MB, free: 49.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.4769, allocations: 327.6 kB / 480.5 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.4769, allocations: 3.156 kB / 480.5 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4769, allocations: 2.188 kB / 480.5 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4769, allocations: 6.844 kB / 480.5 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.4772, allocations: 278.7 kB / 480.8 MB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4772, allocations: 3.688 kB / 480.8 MB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.4776, allocations: 88.17 kB / 480.9 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4776, allocations: 3.156 kB / 480.9 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4776, allocations: 4.938 kB / 480.9 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4776, allocations: 7.188 kB / 480.9 MB, free: 48.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4776, allocations: 0 / 480.9 MB, free: 48.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.4783, allocations: 0.5043 MB / 481.4 MB, free: 48.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.4784, allocations: 55.08 kB / 481.5 MB, free: 48.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.4785, allocations: 4 kB / 481.5 MB, free: 48.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4787, allocations: 18.34 kB / 481.5 MB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.4787, allocations: 21.02 kB / 481.5 MB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4788, allocations: 7.062 kB / 481.5 MB, free: 48.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4789, allocations: 166.5 kB / 481.7 MB, free: 48.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4789, allocations: 4.375 kB / 481.7 MB, free: 48.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.4792, allocations: 95.8 kB / 481.8 MB, free: 48.34 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.492e-05/0.4793, allocations: 106.7 kB / 481.9 MB, free: 48.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.4798, allocations: 266.4 kB / 482.1 MB, free: 48.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4798, allocations: 2.438 kB / 482.1 MB, free: 48.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.48, allocations: 128 kB / 482.3 MB, free: 48.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.4804, allocations: 31.19 kB / 482.3 MB, free: 48.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4816, allocations: 0.7623 MB / 483.1 MB, free: 47.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.4817, allocations: 178.7 kB / 483.2 MB, free: 47.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.4818, allocations: 36.02 kB / 483.3 MB, free: 47.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.4819, allocations: 31.48 kB / 483.3 MB, free: 47.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4819, allocations: 0 / 483.3 MB, free: 47.57 MB / 446.1 MB Notification: Performance of Templates: time 0.006001/0.4879, allocations: 2.43 MB / 485.7 MB, free: 47.32 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.68360254901927]