Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.0016, allocations: 183.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 97.23 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5139/0.5139, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.3281/0.4518, allocations: 12.33 MB / 0.4908 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4632, allocations: 4.262 MB / 0.4949 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.4661, allocations: 55.12 kB / 0.495 GB, free: 34.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.4685, allocations: 0.5491 MB / 0.4955 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.4771, allocations: 1.959 MB / 0.4974 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.4793, allocations: 433.7 kB / 0.4978 GB, free: 34.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003893/0.4832, allocations: 1.475 MB / 0.4993 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.4864, allocations: 1.39 MB / 0.5006 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4883, allocations: 0.6042 MB / 0.5012 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.4905, allocations: 0.8527 MB / 0.5021 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.4912, allocations: 79.34 kB / 0.5021 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.494, allocations: 0.7603 MB / 0.5029 GB, free: 33.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.4957, allocations: 0.8906 MB / 0.5037 GB, free: 33.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008431/0.4966, allocations: 0.4962 MB / 0.5042 GB, free: 33.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.5019, allocations: 3.032 MB / 0.5072 GB, free: 33.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.502, allocations: 0 / 0.5072 GB, free: 33.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.502, allocations: 0 / 0.5072 GB, free: 33.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.5021, allocations: 0 / 0.5072 GB, free: 33.05 MB / 378.7 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.008036/0.5102, allocations: 2.553 MB / 0.5097 GB, free: 31.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5103, allocations: 16.97 kB / 0.5097 GB, free: 31.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.5224, allocations: 1.976 MB / 0.5116 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.5268, allocations: 1.568 MB / 0.5132 GB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.5271, allocations: 125.1 kB / 0.5133 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009892/0.5281, allocations: 161.1 kB / 0.5134 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.5434, allocations: 6.489 MB / 0.5198 GB, free: 27.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.5436, allocations: 31.91 kB / 0.5198 GB, free: 27.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000624/0.5442, allocations: 80.11 kB / 0.5199 GB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.5484, allocations: 1.443 MB / 0.5213 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5657, allocations: 5.746 MB / 0.5269 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04571/0.6115, allocations: 26.84 MB / 0.5531 GB, free: 20.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.6188, allocations: 2.145 MB / 0.5552 GB, free: 19.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.6191, allocations: 181.1 kB / 0.5554 GB, free: 19.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.6192, allocations: 47.53 kB / 0.5554 GB, free: 19.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 4.268e-06/0.6192, allocations: 3.938 kB / 0.5554 GB, free: 19.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.027/0.6462, allocations: 6.705 MB / 0.562 GB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.6463, allocations: 140.9 kB / 0.5621 GB, free: 14.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006962/0.6533, allocations: 3.004 MB / 0.565 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.6537, allocations: 41.7 kB / 0.5651 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.6563, allocations: 2.089 MB / 0.5671 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009211/0.6572, allocations: 461.2 kB / 0.5676 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/0.6579, allocations: 92 kB / 0.5677 GB, free: 8.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005673/0.6585, allocations: 0.5006 MB / 0.5681 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/0.6632, allocations: 1.398 MB / 0.5695 GB, free: 6.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007591/0.6709, allocations: 4.259 MB / 0.5737 GB, free: 1.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.6775, allocations: 2.387 MB / 0.576 GB, free: 14.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.106e-05/0.6776, allocations: 36 kB / 0.576 GB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01634/0.694, allocations: 5.363 MB / 0.5813 GB, free: 9.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6941, allocations: 51.94 kB / 0.5813 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/0.6943, allocations: 104 kB / 0.5814 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.6946, allocations: 148 kB / 0.5816 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00893/0.7035, allocations: 1.224 MB / 0.5828 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002889/0.7038, allocations: 203.2 kB / 0.5829 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/0.7089, allocations: 243.8 kB / 0.5832 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/0.7102, allocations: 282.7 kB / 0.5834 GB, free: 7.164 MB / 410.7 MB 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 (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004909/0.7151, allocations: 1.392 MB / 0.5848 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007468/0.7159, allocations: 240.9 kB / 0.585 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.7201, allocations: 1.249 MB / 0.5863 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.7202, allocations: 12 kB / 0.5863 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.7202, allocations: 0 / 0.5863 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.7202, allocations: 7.984 kB / 0.5863 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.7351, allocations: 4.551 MB / 0.5907 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.7352, allocations: 4 kB / 0.5907 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003645/0.7388, allocations: 375.3 kB / 0.5911 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.352e-05/0.7389, allocations: 8 kB / 0.5911 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/0.7391, allocations: 24 kB / 0.5911 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.699e-05/0.7391, allocations: 8 kB / 0.5911 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.7392, allocations: 11.89 kB / 0.5911 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.7441, allocations: 2.602 MB / 0.5937 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.7459, allocations: 477.5 kB / 0.5941 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/0.7466, allocations: 23.98 kB / 0.5942 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.7485, allocations: 55.94 kB / 0.5942 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.7488, allocations: 67.81 kB / 0.5943 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.749, allocations: 38.67 kB / 0.5943 GB, free: 11.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005762/0.7548, allocations: 1.909 MB / 0.5962 GB, free: 9.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7548, allocations: 0 / 0.5962 GB, free: 9.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005354/0.7602, allocations: 0.6484 MB / 0.5968 GB, free: 9.219 MB / 426.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007118/0.761, allocations: 176.1 kB / 0.597 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008742/0.7697, allocations: 3.224 MB / 0.6001 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.7698, allocations: 1.875 kB / 0.6001 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.7719, allocations: 0.7931 MB / 0.6009 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.7742, allocations: 257.1 kB / 0.6011 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.7912, allocations: 6.788 MB / 0.6078 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/0.7957, allocations: 2.277 MB / 0.61 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.7972, allocations: 211.4 kB / 0.6102 GB, free: 11.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7973, allocations: 0 / 0.6102 GB, free: 11.4 MB / 442.7 MB Notification: Performance of Templates: time 0.08783/0.8851, allocations: 36.74 MB / 0.6461 GB, free: 6.66 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches