Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 93.2 kB / 16.98 MB, free: 5.938 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.0009025/0.0009025, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2098/0.2098, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004008, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02405/0.1367, allocations: 25.39 MB / 496.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1532, allocations: 6.621 MB / 0.4917 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004736/0.158, allocations: 119.7 kB / 0.4918 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005044/0.1631, allocations: 1.295 MB / 0.493 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.1762, allocations: 3.924 MB / 0.4969 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.178, allocations: 399.2 kB / 0.4973 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.1815, allocations: 1.953 MB / 0.4992 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.1845, allocations: 2.237 MB / 0.5013 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1857, allocations: 0.868 MB / 0.5022 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.1872, allocations: 1.207 MB / 0.5034 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.1876, allocations: 132 kB / 0.5035 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1889, allocations: 0.7451 MB / 0.5042 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2578/0.4468, allocations: 1.349 MB / 0.5055 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.4487, allocations: 0.7418 MB / 0.5063 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009294/0.458, allocations: 4.716 MB / 0.5109 GB, free: 13.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4581, allocations: 0 / 0.5109 GB, free: 13.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4581, allocations: 4.094 kB / 0.5109 GB, free: 13.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.4584, allocations: 2.031 kB / 0.5109 GB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01113/0.4695, allocations: 3.508 MB / 0.5143 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4696, allocations: 9.844 kB / 0.5143 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.4834, allocations: 3.735 MB / 0.518 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.49, allocations: 1.961 MB / 0.5199 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.4904, allocations: 192.1 kB / 0.5201 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.4924, allocations: 249.9 kB / 0.5203 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.5124, allocations: 10.54 MB / 0.5306 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.5126, allocations: 26.47 kB / 0.5306 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.5131, allocations: 119.1 kB / 0.5307 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/0.517, allocations: 2.55 MB / 0.5332 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.5374, allocations: 9.979 MB / 0.543 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06068/0.5982, allocations: 34.54 MB / 0.5767 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.609, allocations: 5.174 MB / 0.5818 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.611, allocations: 1.879 MB / 0.5836 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.6111, allocations: 58.3 kB / 0.5836 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.521e-06/0.6111, allocations: 4 kB / 0.5836 GB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03559/0.6467, allocations: 14.47 MB / 0.5978 GB, free: 14.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.6469, allocations: 73.41 kB / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.651, allocations: 2.733 MB / 0.6005 GB, free: 12.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006737/0.6517, allocations: 59.97 kB / 0.6006 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.6538, allocations: 2.631 MB / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.6553, allocations: 0.851 MB / 0.604 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.6555, allocations: 100 kB / 0.6041 GB, free: 8.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000371/0.6559, allocations: 0.5253 MB / 0.6046 GB, free: 8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.6595, allocations: 2.181 MB / 0.6067 GB, free: 5.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005552/0.6651, allocations: 5.02 MB / 0.6116 GB, free: 15.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.6708, allocations: 3.31 MB / 0.6148 GB, free: 12.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/0.6708, allocations: 28 kB / 0.6149 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01615/0.687, allocations: 7.816 MB / 0.6225 GB, free: 4.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.6871, allocations: 48 kB / 0.6225 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.6874, allocations: 103.4 kB / 0.6226 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/0.6898, allocations: 0.8082 MB / 0.6234 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/0.6946, allocations: 1.178 MB / 0.6246 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.7005, allocations: 4.297 MB / 0.6288 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.7044, allocations: 291.8 kB / 0.6291 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/0.705, allocations: 300 kB / 0.6293 GB, free: 13.94 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004572/0.7096, allocations: 2.02 MB / 0.6313 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.7101, allocations: 268.5 kB / 0.6316 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/0.718, allocations: 4.702 MB / 0.6362 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/0.7181, allocations: 47.98 kB / 0.6362 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.7181, allocations: 4 kB / 0.6362 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.7182, allocations: 7.969 kB / 0.6362 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/0.7404, allocations: 10.54 MB / 0.6465 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.7405, allocations: 8.375 kB / 0.6465 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.7422, allocations: 359.4 kB / 0.6469 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.7443, allocations: 0.656 MB / 0.6475 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004116/0.7447, allocations: 51.5 kB / 0.6476 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.7497, allocations: 3.746 MB / 0.6512 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.7497, allocations: 8 kB / 0.6512 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.7634, allocations: 7.676 MB / 0.6587 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7645, allocations: 317.7 kB / 0.659 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009593/0.7655, allocations: 43.44 kB / 0.6591 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.7671, allocations: 139.8 kB / 0.6592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.7675, allocations: 133 kB / 0.6593 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.7677, allocations: 63.98 kB / 0.6594 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002965/0.7706, allocations: 1.682 MB / 0.661 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7707, allocations: 0 / 0.661 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005503/0.7762, allocations: 0.9487 MB / 0.6619 GB, free: 11.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008214/0.777, allocations: 193.9 kB / 0.6621 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008722/0.7858, allocations: 5.308 MB / 0.6673 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7858, allocations: 4.625 kB / 0.6673 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.7889, allocations: 2.018 MB / 0.6693 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.7907, allocations: 338.1 kB / 0.6696 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.8105, allocations: 11.08 MB / 0.6804 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005753/0.8163, allocations: 3.249 MB / 0.6836 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004724/0.8211, allocations: 1.955 MB / 0.6855 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.8218, allocations: 203.4 kB / 0.6857 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.8218, allocations: 0 / 0.6857 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.258/1.08, allocations: 29.2 MB / 0.7142 GB, free: 191.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches