Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.3 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 188.1 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.251/0.251, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.91 kB / 441.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1525, allocations: 57.79 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009376/0.1619, allocations: 7.503 MB / 0.4952 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008135/0.1701, allocations: 3.338 MB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1715, allocations: 35.88 kB / 0.4985 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.1735, allocations: 0.8015 MB / 0.4993 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.1771, allocations: 1.343 MB / 0.5006 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1784, allocations: 0.5262 MB / 0.5011 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.1817, allocations: 2.582 MB / 0.5036 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.1831, allocations: 1.241 MB / 0.5048 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.1842, allocations: 0.7861 MB / 0.5056 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.1855, allocations: 1.125 MB / 0.5067 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.1857, allocations: 140 kB / 0.5068 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.1875, allocations: 0.9399 MB / 0.5077 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009953/0.1885, allocations: 1.021 MB / 0.5087 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.1897, allocations: 1.227 MB / 0.5099 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.1948, allocations: 4.059 MB / 0.5139 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.1948, allocations: 8 kB / 0.5139 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1948, allocations: 0 / 0.5139 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.676e-05/0.1949, allocations: 4 kB / 0.5139 GB, free: 1.043 MB / 398.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.006282/0.2012, allocations: 2.953 MB / 0.5168 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.2013, allocations: 15.89 kB / 0.5168 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005879/0.2071, allocations: 1.651 MB / 0.5184 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.2098, allocations: 1.398 MB / 0.5198 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2099, allocations: 123.4 kB / 0.5199 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.2103, allocations: 164 kB / 0.5201 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009791/0.2201, allocations: 6.46 MB / 0.5264 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.2202, allocations: 35.75 kB / 0.5264 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.2204, allocations: 79.89 kB / 0.5265 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002615/0.223, allocations: 1.445 MB / 0.5279 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3742/0.5973, allocations: 5.725 MB / 0.5335 GB, free: 36.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/0.6388, allocations: 26.72 MB / 0.5596 GB, free: 17.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.6442, allocations: 2.138 MB / 0.5617 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.6458, allocations: 1.04 MB / 0.5627 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.646, allocations: 182.9 kB / 0.5629 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.646, allocations: 39.58 kB / 0.5629 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.009e-06/0.646, allocations: 0 / 0.5629 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01662/0.6626, allocations: 6.397 MB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.6628, allocations: 138 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/0.6669, allocations: 2.904 MB / 0.5721 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.6671, allocations: 44.92 kB / 0.5721 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.6683, allocations: 2.107 MB / 0.5742 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.6687, allocations: 455.4 kB / 0.5746 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.6697, allocations: 0.8879 MB / 0.5755 GB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.6698, allocations: 301.1 kB / 0.5758 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.6716, allocations: 1.433 MB / 0.5772 GB, free: 6.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.6753, allocations: 4.308 MB / 0.5814 GB, free: 1.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/0.6827, allocations: 6.206 MB / 0.5875 GB, free: 9.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/0.6828, allocations: 28 kB / 0.5875 GB, free: 9.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009158/0.692, allocations: 5.512 MB / 0.5929 GB, free: 3.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.6921, allocations: 48 kB / 0.5929 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.6922, allocations: 104 kB / 0.593 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.6923, allocations: 132 kB / 0.5931 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.6965, allocations: 1.224 MB / 0.5943 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001934/0.6967, allocations: 203.2 kB / 0.5945 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/0.7004, allocations: 253.2 kB / 0.5948 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/0.7008, allocations: 280 kB / 0.595 GB, free: 1.625 MB / 430.1 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 (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.002372/0.7032, allocations: 1.385 MB / 0.5964 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.7037, allocations: 244.8 kB / 0.5966 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.7058, allocations: 1.234 MB / 0.5978 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.7058, allocations: 15.94 kB / 0.5978 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.7058, allocations: 8 kB / 0.5979 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7058, allocations: 7.922 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/0.714, allocations: 4.553 MB / 0.6023 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.714, allocations: 8 kB / 0.6023 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.7158, allocations: 375.5 kB / 0.6027 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.7159, allocations: 8 kB / 0.6027 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.7159, allocations: 24 kB / 0.6027 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.716, allocations: 11.98 kB / 0.6027 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.716, allocations: 7.938 kB / 0.6027 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.7189, allocations: 2.151 MB / 0.6048 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009391/0.7199, allocations: 461.7 kB / 0.6053 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.7201, allocations: 24.83 kB / 0.6053 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/0.7211, allocations: 51.94 kB / 0.6053 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.7212, allocations: 67.8 kB / 0.6054 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.7213, allocations: 43.3 kB / 0.6054 GB, free: 6.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003022/0.7243, allocations: 1.831 MB / 0.6072 GB, free: 4.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7244, allocations: 0 / 0.6072 GB, free: 4.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00428/0.7286, allocations: 0.6302 MB / 0.6078 GB, free: 4.316 MB / 446.1 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 (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.0004373/0.7291, allocations: 147.7 kB / 0.608 GB, free: 4.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.7345, allocations: 3.288 MB / 0.6112 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7345, allocations: 0 / 0.6112 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.7358, allocations: 0.7955 MB / 0.612 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.7379, allocations: 273.4 kB / 0.6122 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.7489, allocations: 5.583 MB / 0.6177 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.7513, allocations: 2.209 MB / 0.6198 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003694/0.755, allocations: 1.461 MB / 0.6213 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.7556, allocations: 175.4 kB / 0.6214 GB, free: 6.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.7556, allocations: 0 / 0.6214 GB, free: 6.32 MB / 462.1 MB Notification: Performance of Templates: time 0.04218/0.7978, allocations: 19.69 MB / 0.6407 GB, free: 2.723 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches