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.001358/0.001358, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008771/0.0008771, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 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 0.8798/0.8798, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1376/0.1376, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.713e-06/1.713e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.339e-05, allocations: 6.078 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002633/0.002656, allocations: 2.763 MB / 410.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.00385, allocations: 0.7446 MB / 411.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.003981, allocations: 11.94 kB / 411.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.00412, allocations: 59.38 kB / 411.7 MB, free: 9.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.004262, allocations: 111 kB / 411.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.004498, allocations: 107.8 kB / 411.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.004829, allocations: 490.4 kB / 412.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.005025, allocations: 116.4 kB / 412.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.00526, allocations: 271.4 kB / 412.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.005406, allocations: 151.5 kB / 412.9 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.005453, allocations: 40 kB / 412.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.463e-05/0.005487, allocations: 43.94 kB / 413 MB, free: 8.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.005537, allocations: 87.66 kB / 413.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.005634, allocations: 143.6 kB / 413.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.005959, allocations: 482.4 kB / 413.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005962, allocations: 4 kB / 413.7 MB, free: 7.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005963, allocations: 0 / 413.7 MB, free: 7.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005968, allocations: 0 / 413.7 MB, free: 7.418 MB / 346.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.0008138/0.006781, allocations: 0.6301 MB / 414.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.006817, allocations: 8.031 kB / 414.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.006874, allocations: 48.59 kB / 414.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.007142, allocations: 240.8 kB / 414.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.007164, allocations: 33.31 kB / 414.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.00721, allocations: 36.38 kB / 414.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.007603, allocations: 339 kB / 415 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.007616, allocations: 192 / 415 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.00764, allocations: 16.38 kB / 415 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.007649, allocations: 11.94 kB / 415 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.008015, allocations: 299.8 kB / 415.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.009303, allocations: 1.157 MB / 416.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.00965, allocations: 248.8 kB / 416.7 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.00982, allocations: 137.4 kB / 416.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.009842, allocations: 4.281 kB / 416.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.009863, allocations: 38.84 kB / 416.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.009865, allocations: 0 / 416.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005083/0.01037, allocations: 378.6 kB / 417.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.01041, allocations: 59.41 kB / 417.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01058, allocations: 233.7 kB / 417.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01059, allocations: 29.7 kB / 417.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.01068, allocations: 212.5 kB / 417.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.01075, allocations: 126.9 kB / 417.9 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.01082, allocations: 74.17 kB / 418 MB, free: 2.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.01091, allocations: 330.8 kB / 418.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.01105, allocations: 105 kB / 418.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.01122, allocations: 176.1 kB / 418.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.01181, allocations: 288.6 kB / 418.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01182, allocations: 4 kB / 418.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003889/0.01221, allocations: 362.4 kB / 419.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01222, allocations: 8 kB / 419.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.01223, allocations: 3.938 kB / 419.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01225, allocations: 4 kB / 419.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.01251, allocations: 108.1 kB / 419.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01252, allocations: 7.938 kB / 419.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01263, allocations: 39.72 kB / 419.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01265, allocations: 16 kB / 419.4 MB, free: 1.434 MB / 346.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.0001024/0.01275, allocations: 145.7 kB / 419.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.01278, allocations: 27.84 kB / 419.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.01317, allocations: 328.2 kB / 419.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01318, allocations: 11.98 kB / 419.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01318, allocations: 0 / 419.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01318, allocations: 0 / 419.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.01344, allocations: 281 kB / 420.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01344, allocations: 7.938 kB / 420.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.01364, allocations: 83.88 kB / 420.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01364, allocations: 0 / 420.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01365, allocations: 8 kB / 420.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01366, allocations: 3.938 kB / 420.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01366, allocations: 3.938 kB / 420.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.01419, allocations: 0.5069 MB / 420.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.01426, allocations: 47.75 kB / 420.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01428, allocations: 8 kB / 420.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01438, allocations: 19.92 kB / 420.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.01444, allocations: 19.95 kB / 420.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.01445, allocations: 12 kB / 420.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.01455, allocations: 169.2 kB / 421.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01455, allocations: 0 / 421.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.01478, allocations: 99.84 kB / 421.2 MB, free: 15.61 MB / 362.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 9.288e-05/0.01487, allocations: 103.5 kB / 421.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.01521, allocations: 260.1 kB / 421.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01521, allocations: 0 / 421.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.01535, allocations: 127.7 kB / 421.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.0156, allocations: 32.94 kB / 421.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.01651, allocations: 0.7039 MB / 422.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01662, allocations: 185.3 kB / 422.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.01671, allocations: 36.42 kB / 422.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01671, allocations: 3.938 kB / 422.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Templates: time 0.004122/0.02083, allocations: 3.949 MB / 426.5 MB, free: 10.16 MB / 362.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/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: 4.8608696311712265]