Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.001628/0.001628, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00199/0.00199, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.524/1.524, allocations: 230.6 MB / 257.5 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.2478/0.2478, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 59.91 kB / 0.4966 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 66.02 MB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007805/0.3706, allocations: 6.7 MB / 0.5676 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.377, allocations: 3.153 MB / 0.5707 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.3782, allocations: 42.91 kB / 0.5707 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.3801, allocations: 0.7949 MB / 0.5715 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.3837, allocations: 1.327 MB / 0.5728 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.385, allocations: 0.5207 MB / 0.5733 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.3888, allocations: 2.603 MB / 0.5758 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.3904, allocations: 1.155 MB / 0.577 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.3917, allocations: 0.7826 MB / 0.5777 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3936, allocations: 1.235 MB / 0.5789 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.394, allocations: 139.2 kB / 0.5791 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.396, allocations: 0.8375 MB / 0.5799 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.3974, allocations: 1.033 MB / 0.5809 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3987, allocations: 0.8671 MB / 0.5817 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.4057, allocations: 4.042 MB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4057, allocations: 0.7031 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4057, allocations: 1.094 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000142/0.4058, allocations: 7.938 kB / 0.5857 GB, free: 21.42 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.007336/0.4132, allocations: 2.938 MB / 0.5886 GB, free: 19.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4132, allocations: 9.656 kB / 0.5886 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006502/0.4197, allocations: 1.668 MB / 0.5902 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.4234, allocations: 1.272 MB / 0.5914 GB, free: 18.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.4235, allocations: 124.5 kB / 0.5916 GB, free: 18.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/0.4241, allocations: 161.1 kB / 0.5917 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.4366, allocations: 6.45 MB / 0.598 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.53e-05/0.4367, allocations: 36.02 kB / 0.598 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.437, allocations: 84.89 kB / 0.5981 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002627/0.4396, allocations: 1.441 MB / 0.5995 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.4501, allocations: 5.716 MB / 0.6051 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.4829, allocations: 25.24 MB / 0.6298 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.4875, allocations: 1.612 MB / 0.6313 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.4889, allocations: 0.9567 MB / 0.6323 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.4891, allocations: 24.31 kB / 0.6323 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.4891, allocations: 46.83 kB / 0.6323 GB, free: 12.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.4891, allocations: 0 / 0.6323 GB, free: 12.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01744/0.5066, allocations: 6.515 MB / 0.6387 GB, free: 5.496 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5067, allocations: 145 kB / 0.6388 GB, free: 5.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.5108, allocations: 2.662 MB / 0.6414 GB, free: 2.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.511, allocations: 37.7 kB / 0.6415 GB, free: 2.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.5128, allocations: 2.217 MB / 0.6436 GB, free: 352 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006032/0.5134, allocations: 472.7 kB / 0.6441 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.5147, allocations: 0.909 MB / 0.645 GB, free: 14.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.5149, allocations: 357.9 kB / 0.6453 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.5173, allocations: 1.43 MB / 0.6467 GB, free: 13.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/0.5224, allocations: 4.299 MB / 0.6509 GB, free: 7.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009213/0.5316, allocations: 6.204 MB / 0.657 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.5317, allocations: 31.94 kB / 0.657 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01217/0.5439, allocations: 5.481 MB / 0.6624 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.386e-05/0.5439, allocations: 48.94 kB / 0.6624 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.5441, allocations: 104 kB / 0.6625 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.5442, allocations: 132 kB / 0.6626 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/0.5489, allocations: 1.232 MB / 0.6638 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.5491, allocations: 195.2 kB / 0.664 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.5522, allocations: 255.5 kB / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.5527, allocations: 284 kB / 0.6645 GB, free: 8.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * 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.002757/0.5554, allocations: 1.38 MB / 0.6659 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000619/0.5561, allocations: 226.5 kB / 0.6661 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.5583, allocations: 1.199 MB / 0.6673 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/0.5584, allocations: 16 kB / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.5584, allocations: 0 / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.5584, allocations: 11.91 kB / 0.6673 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008526/0.5669, allocations: 3.939 MB / 0.6711 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.5669, allocations: 4 kB / 0.6711 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.5689, allocations: 367.3 kB / 0.6715 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.5689, allocations: 11.98 kB / 0.6715 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.569, allocations: 20 kB / 0.6715 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.569, allocations: 8 kB / 0.6715 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.569, allocations: 11.94 kB / 0.6715 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.5722, allocations: 2.139 MB / 0.6736 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.5728, allocations: 202.4 kB / 0.6738 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.5733, allocations: 19.98 kB / 0.6738 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5744, allocations: 59.92 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.5746, allocations: 75.77 kB / 0.674 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/0.5747, allocations: 32 kB / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002743/0.5774, allocations: 1.519 MB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5774, allocations: 7.938 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003888/0.5813, allocations: 0.6092 MB / 0.6761 GB, free: 11.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.0004544/0.5817, allocations: 155 kB / 0.6762 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0062/0.5879, allocations: 3.157 MB / 0.6793 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5879, allocations: 192 / 0.6793 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.5893, allocations: 0.7389 MB / 0.68 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.5918, allocations: 239.3 kB / 0.6803 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.6042, allocations: 5.593 MB / 0.6857 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/0.6074, allocations: 1.627 MB / 0.6873 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003568/0.611, allocations: 1.425 MB / 0.6887 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/0.6116, allocations: 155.4 kB / 0.6889 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.6116, allocations: 0 / 0.6889 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.04818/0.6598, allocations: 21.25 MB / 0.7096 GB, free: 9.77 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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: 6.59075077297166]