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.001444/0.001444, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001599/0.001599, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2335/0.2335, allocations: 46.93 MB / 360.9 MB, free: 4.254 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.002086/0.002086, allocations: 67.91 kB / 0.4966 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3883, allocations: 66.03 MB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004535/0.3928, allocations: 2.874 MB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3942, allocations: 0.7751 MB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.3944, allocations: 15.88 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3946, allocations: 55.44 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3948, allocations: 130.8 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3951, allocations: 111.7 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.3956, allocations: 438 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3959, allocations: 110 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.3962, allocations: 179.4 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.3964, allocations: 175.2 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.3965, allocations: 32 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.3966, allocations: 40 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3967, allocations: 79.64 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.3968, allocations: 207 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.3974, allocations: 436.6 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3974, allocations: 3.938 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3974, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3974, allocations: 0 / 0.5666 GB, free: 14.73 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.001017/0.3984, allocations: 0.5833 MB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3984, allocations: 12.03 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.3987, allocations: 64.61 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.3991, allocations: 221.9 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3991, allocations: 29.38 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.3992, allocations: 44.33 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.3998, allocations: 398.4 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.3999, allocations: 7.953 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.3999, allocations: 16 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3999, allocations: 8 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.4003, allocations: 223.7 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.4027, allocations: 1.671 MB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.4032, allocations: 254.3 kB / 0.57 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4033, allocations: 90.08 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.4034, allocations: 8 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.4034, allocations: 50.48 kB / 0.5702 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.4034, allocations: 0 / 0.5702 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006854/0.4041, allocations: 261.2 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.4042, allocations: 213.9 kB / 0.5706 GB, free: 10.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.4045, allocations: 280.5 kB / 0.5709 GB, free: 10 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4046, allocations: 29.7 kB / 0.5709 GB, free: 9.965 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4047, allocations: 248.1 kB / 0.5712 GB, free: 9.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.4048, allocations: 119 kB / 0.5713 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.405, allocations: 98.3 kB / 0.5714 GB, free: 9.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4051, allocations: 350.7 kB / 0.5717 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4053, allocations: 97.27 kB / 0.5718 GB, free: 9.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.4058, allocations: 428.8 kB / 0.5722 GB, free: 8.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.4066, allocations: 0.5706 MB / 0.5728 GB, free: 7.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4067, allocations: 4 kB / 0.5728 GB, free: 7.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008811/0.4075, allocations: 0.5288 MB / 0.5733 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4076, allocations: 15.94 kB / 0.5733 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4076, allocations: 12 kB / 0.5733 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.4076, allocations: 20.48 kB / 0.5733 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.4081, allocations: 143.8 kB / 0.5735 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.4081, allocations: 23.92 kB / 0.5735 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4084, allocations: 63.56 kB / 0.5736 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.4084, allocations: 36 kB / 0.5736 GB, free: 6.898 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.0001849/0.4086, allocations: 185.6 kB / 0.5738 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.4088, allocations: 31.81 kB / 0.5738 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.4088, allocations: 41.83 kB / 0.5738 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4088, allocations: 4 kB / 0.5738 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4089, allocations: 0 / 0.5738 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4089, allocations: 4 kB / 0.5738 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4102, allocations: 0.6309 MB / 0.5745 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4102, allocations: 4 kB / 0.5745 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.4107, allocations: 87.88 kB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.4107, allocations: 4 kB / 0.5745 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.4107, allocations: 8 kB / 0.5746 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4107, allocations: 7.938 kB / 0.5746 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4107, allocations: 0 / 0.5746 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.4116, allocations: 0.8416 MB / 0.5754 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.4116, allocations: 31.73 kB / 0.5754 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.4117, allocations: 8 kB / 0.5754 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.412, allocations: 15.94 kB / 0.5754 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.4121, allocations: 27.89 kB / 0.5755 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4121, allocations: 8 kB / 0.5755 GB, free: 4.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.4123, allocations: 191.1 kB / 0.5757 GB, free: 4.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4123, allocations: 4 kB / 0.5757 GB, free: 4.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007356/0.4131, allocations: 95.89 kB / 0.5757 GB, free: 4.578 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.0001268/0.4132, allocations: 103.4 kB / 0.5758 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.4137, allocations: 282.3 kB / 0.5761 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4137, allocations: 4 kB / 0.5761 GB, free: 4.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4139, allocations: 84.39 kB / 0.5762 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.4149, allocations: 80.08 kB / 0.5763 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4173, allocations: 1.566 MB / 0.5778 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.4178, allocations: 0.8065 MB / 0.5786 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.418, allocations: 39.27 kB / 0.5786 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.418, allocations: 31.44 kB / 0.5787 GB, free: 1.512 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.418, allocations: 0 / 0.5787 GB, free: 1.512 MB / 414.1 MB Notification: Performance of Templates: time 0.008364/0.4264, allocations: 3.294 MB / 0.5819 GB, free: 14.24 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/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.615312656154856]