Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001874/0.001874, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002027/0.002027, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.433/1.433, allocations: 230.6 MB / 258.3 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.2241/0.2241, allocations: 46.95 MB / 361.6 MB, free: 4.129 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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2926, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003309/0.2959, allocations: 1.611 MB / 0.5634 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002919/0.2962, allocations: 103.6 kB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.2963, allocations: 4 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.503e-05/0.2963, allocations: 15.8 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2964, allocations: 35.7 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.2965, allocations: 31.95 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.2967, allocations: 135.3 kB / 0.5637 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2968, allocations: 25.3 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.2969, allocations: 51.84 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.297, allocations: 47.78 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.297, allocations: 12 kB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.297, allocations: 8 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.2971, allocations: 27.86 kB / 0.5639 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.2971, allocations: 43.8 kB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2973, allocations: 126 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2973, allocations: 0 / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2973, allocations: 4 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2973, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004937/0.2978, allocations: 338.1 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2979, allocations: 8.031 kB / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.2979, allocations: 8.891 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2981, allocations: 142.3 kB / 0.5645 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2981, allocations: 4.609 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2981, allocations: 16.38 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.2983, allocations: 121.6 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2984, allocations: 16.06 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2984, allocations: 15.88 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2984, allocations: 4 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2985, allocations: 51.97 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.2992, allocations: 440.2 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2994, allocations: 81.17 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.2994, allocations: 29.8 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2994, allocations: 4 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2994, allocations: 38.44 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2994, allocations: 4 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000505/0.2999, allocations: 155.2 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3, allocations: 77.11 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3001, allocations: 129.7 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3001, allocations: 25.7 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3002, allocations: 115.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3002, allocations: 35.73 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.3003, allocations: 29.72 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3004, allocations: 326.8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.3005, allocations: 27.98 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.3006, allocations: 87.19 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3007, allocations: 116.5 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3007, allocations: 8 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002689/0.301, allocations: 163.1 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.301, allocations: 8 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.301, allocations: 0 / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.3013, allocations: 33.7 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.3013, allocations: 31.92 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.3034, allocations: 2.482 MB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.3035, allocations: 19.86 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3035, allocations: 8.312 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.3036, allocations: 133 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.3037, allocations: 7.953 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.3037, allocations: 12 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3037, allocations: 0 / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3037, allocations: 0 / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.3037, allocations: 11.88 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3037, allocations: 4 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.3038, allocations: 7.984 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.3039, allocations: 11.98 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004069/0.3043, allocations: 281.8 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003092/0.3046, allocations: 377.8 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.265e-05/0.3046, allocations: 23.92 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.3047, allocations: 99.2 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Backend: time 3.71e-07/0.3047, allocations: 0 / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.3055, allocations: 367.8 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 0.001281/0.3068, allocations: 0.9509 MB / 0.5713 GB, free: 9.898 MB / 414.1 MB Notification: Performance of Templates: time 0.004657/0.3114, allocations: 1.649 MB / 0.5729 GB, free: 8.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.809454303001985]