Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 164.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 34.27 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 79.88 kB / 443.1 MB, free: 6.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.347, allocations: 66.06 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006146/0.3531, allocations: 6.699 MB / 0.5038 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.3582, allocations: 3.159 MB / 0.5069 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.3589, allocations: 38.94 kB / 0.5069 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3604, allocations: 0.7907 MB / 0.5077 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3629, allocations: 1.322 MB / 0.509 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.3639, allocations: 0.5293 MB / 0.5095 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3667, allocations: 2.599 MB / 0.512 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.3682, allocations: 1.144 MB / 0.5131 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3693, allocations: 0.7849 MB / 0.5139 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.371, allocations: 1.19 MB / 0.5151 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.3713, allocations: 138.8 kB / 0.5152 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.3731, allocations: 0.8346 MB / 0.516 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.3741, allocations: 1.032 MB / 0.517 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009129/0.375, allocations: 0.8683 MB / 0.5179 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.3801, allocations: 4.039 MB / 0.5218 GB, free: 17.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3801, allocations: 0 / 0.5218 GB, free: 17.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3801, allocations: 0 / 0.5218 GB, free: 17.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.768e-05/0.3802, allocations: 1.031 kB / 0.5218 GB, free: 17.62 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.006546/0.3868, allocations: 2.948 MB / 0.5247 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3868, allocations: 14.05 kB / 0.5247 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/0.3934, allocations: 1.744 MB / 0.5264 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/0.3972, allocations: 1.27 MB / 0.5277 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3973, allocations: 122.3 kB / 0.5278 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004337/0.3978, allocations: 165.5 kB / 0.5279 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009774/0.4075, allocations: 6.464 MB / 0.5342 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.455e-05/0.4076, allocations: 32.77 kB / 0.5343 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.4079, allocations: 84.48 kB / 0.5344 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.4105, allocations: 1.438 MB / 0.5358 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.4225, allocations: 5.737 MB / 0.5414 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/0.4555, allocations: 25.32 MB / 0.5661 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.4596, allocations: 1.651 MB / 0.5677 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.4609, allocations: 0.9527 MB / 0.5686 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4611, allocations: 24.27 kB / 0.5687 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.4611, allocations: 46.81 kB / 0.5687 GB, free: 10.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.487e-06/0.4611, allocations: 0 / 0.5687 GB, free: 10.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01765/0.4788, allocations: 6.689 MB / 0.5752 GB, free: 4.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4789, allocations: 141 kB / 0.5754 GB, free: 4.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.483, allocations: 2.662 MB / 0.578 GB, free: 1.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.4832, allocations: 41.7 kB / 0.578 GB, free: 1.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.485, allocations: 2.213 MB / 0.5802 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.4856, allocations: 472.5 kB / 0.5806 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.487, allocations: 0.9091 MB / 0.5815 GB, free: 13.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4871, allocations: 353.9 kB / 0.5818 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.4896, allocations: 1.441 MB / 0.5832 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/0.4948, allocations: 4.303 MB / 0.5875 GB, free: 6.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009373/0.5042, allocations: 6.218 MB / 0.5935 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.896e-05/0.5043, allocations: 28 kB / 0.5935 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01218/0.5165, allocations: 5.508 MB / 0.5989 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5166, allocations: 50.19 kB / 0.599 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/0.5168, allocations: 104.1 kB / 0.5991 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.517, allocations: 132 kB / 0.5992 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/0.522, allocations: 1.244 MB / 0.6004 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002061/0.5222, allocations: 203.2 kB / 0.6006 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/0.5257, allocations: 275.3 kB / 0.6009 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008134/0.5265, allocations: 284 kB / 0.6011 GB, free: 6.672 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.003344/0.5298, allocations: 1.38 MB / 0.6025 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006388/0.5305, allocations: 214.5 kB / 0.6027 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.533, allocations: 1.212 MB / 0.6039 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/0.533, allocations: 19.98 kB / 0.6039 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.533, allocations: 3.938 kB / 0.6039 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.533, allocations: 3.984 kB / 0.6039 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009283/0.5423, allocations: 3.957 MB / 0.6078 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.5423, allocations: 4 kB / 0.6078 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.5444, allocations: 363.4 kB / 0.6081 GB, free: 15.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.5444, allocations: 8 kB / 0.6081 GB, free: 15.39 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5445, allocations: 24 kB / 0.6082 GB, free: 15.37 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.5445, allocations: 15.92 kB / 0.6082 GB, free: 15.35 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5445, allocations: 4 kB / 0.6082 GB, free: 15.35 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.5476, allocations: 2.144 MB / 0.6103 GB, free: 13.13 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/0.5483, allocations: 202.3 kB / 0.6105 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/0.5488, allocations: 23.98 kB / 0.6105 GB, free: 12.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.55, allocations: 63.92 kB / 0.6105 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.5501, allocations: 67.77 kB / 0.6106 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/0.5502, allocations: 39.91 kB / 0.6106 GB, free: 12.75 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003399/0.5536, allocations: 1.516 MB / 0.6121 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5536, allocations: 0 / 0.6121 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004556/0.5582, allocations: 0.6053 MB / 0.6127 GB, free: 10.61 MB / 0.5138 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.0005803/0.5587, allocations: 158.9 kB / 0.6129 GB, free: 10.45 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006274/0.565, allocations: 3.164 MB / 0.616 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.565, allocations: 4.062 kB / 0.616 GB, free: 7.301 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5663, allocations: 0.7417 MB / 0.6167 GB, free: 6.559 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.5686, allocations: 241.8 kB / 0.6169 GB, free: 6.32 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.5811, allocations: 5.581 MB / 0.6224 GB, free: 0.6367 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/0.5845, allocations: 1.638 MB / 0.624 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004071/0.5885, allocations: 1.429 MB / 0.6254 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009825/0.5895, allocations: 160.5 kB / 0.6255 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of SimCode: time 2.044e-06/0.5895, allocations: 0 / 0.6255 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.04108/0.6306, allocations: 16.73 MB / 0.6418 GB, free: 12.89 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.200388600002043]