Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001752/0.001752, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002119/0.002119, allocations: 207.1 kB / 24.48 MB, free: 3.977 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.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2264/0.2264, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002925/0.002925, allocations: 68.12 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3204, allocations: 66.04 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004251/0.3246, allocations: 2.645 MB / 0.5644 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3259, allocations: 0.7478 MB / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3261, allocations: 15.88 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.3262, allocations: 55.45 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3265, allocations: 130.8 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3268, allocations: 111.8 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.3273, allocations: 434 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3275, allocations: 106.1 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.3278, allocations: 183.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.328, allocations: 179.2 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3281, allocations: 32 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.3282, allocations: 36 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.3282, allocations: 75.64 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3284, allocations: 171.2 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.3289, allocations: 444.6 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3289, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3289, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.3289, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001018/0.33, allocations: 0.5853 MB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.33, allocations: 12.03 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.3303, allocations: 64.69 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.3307, allocations: 217.9 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.3307, allocations: 25.38 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.3308, allocations: 48.33 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.3315, allocations: 398.4 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.3315, allocations: 3.953 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.3315, allocations: 19.98 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3315, allocations: 12 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.332, allocations: 219.7 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.3342, allocations: 1.551 MB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.3347, allocations: 258.3 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3349, allocations: 90.06 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3349, allocations: 8 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3349, allocations: 46.5 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.3349, allocations: 0 / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006849/0.3356, allocations: 261.1 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.3357, allocations: 217.9 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.336, allocations: 268.1 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.336, allocations: 29.7 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.3362, allocations: 256 kB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.3363, allocations: 119 kB / 0.5716 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3364, allocations: 102.3 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3366, allocations: 346.8 kB / 0.572 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3368, allocations: 97.25 kB / 0.5721 GB, free: 9.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.3372, allocations: 428.8 kB / 0.5725 GB, free: 8.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.338, allocations: 0.5663 MB / 0.573 GB, free: 8.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.338, allocations: 4 kB / 0.573 GB, free: 8.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008708/0.3389, allocations: 0.5332 MB / 0.5736 GB, free: 7.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3389, allocations: 8 kB / 0.5736 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3389, allocations: 12 kB / 0.5736 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.3389, allocations: 16 kB / 0.5736 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.3394, allocations: 151.7 kB / 0.5737 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.3394, allocations: 19.94 kB / 0.5738 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3397, allocations: 64.11 kB / 0.5738 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.3397, allocations: 32 kB / 0.5739 GB, free: 7.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001835/0.3399, allocations: 181.5 kB / 0.574 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.3401, allocations: 31.81 kB / 0.5741 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.3402, allocations: 33.73 kB / 0.5741 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3402, allocations: 4 kB / 0.5741 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3402, allocations: 8 kB / 0.5741 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3402, allocations: 7.984 kB / 0.5741 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.3414, allocations: 0.5574 MB / 0.5746 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3414, allocations: 4 kB / 0.5747 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.3419, allocations: 87.89 kB / 0.5747 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.3419, allocations: 8.047 kB / 0.5747 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.3419, allocations: 15.94 kB / 0.5748 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3419, allocations: 4 kB / 0.5748 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.342, allocations: 4 kB / 0.5748 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.3428, allocations: 0.8298 MB / 0.5756 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3428, allocations: 31.75 kB / 0.5756 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.3428, allocations: 8 kB / 0.5756 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.3432, allocations: 11.98 kB / 0.5756 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.3433, allocations: 31.84 kB / 0.5757 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3433, allocations: 15.98 kB / 0.5757 GB, free: 5.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3434, allocations: 171.1 kB / 0.5758 GB, free: 5.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 0.5758 GB, free: 5.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007188/0.3442, allocations: 99.89 kB / 0.5759 GB, free: 4.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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.0001141/0.3443, allocations: 112.7 kB / 0.576 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.3448, allocations: 278.4 kB / 0.5763 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3448, allocations: 0 / 0.5763 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.345, allocations: 95.95 kB / 0.5764 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.346, allocations: 80.31 kB / 0.5765 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3484, allocations: 1.558 MB / 0.578 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3486, allocations: 190.2 kB / 0.5782 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3487, allocations: 47.25 kB / 0.5782 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.3488, allocations: 27.44 kB / 0.5782 GB, free: 2.488 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3488, allocations: 0 / 0.5782 GB, free: 2.488 MB / 414.1 MB Notification: Performance of Templates: time 0.007661/0.3565, allocations: 3.49 MB / 0.5817 GB, free: 15.06 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.083881946004112]