Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108.3 kB / 16.41 MB, free: 6.457 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.001261/0.001261, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2531/0.2531, allocations: 43.52 MB / 314.1 MB, free: 448 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.001676/0.001676, allocations: 73.45 kB / 441.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01812/0.1833, allocations: 13.74 MB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1959, allocations: 4.599 MB / 0.5058 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.2, allocations: 87.75 kB / 0.5059 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008866/0.2089, allocations: 3.761 MB / 0.5096 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.2199, allocations: 2.436 MB / 0.512 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.2246, allocations: 0.9982 MB / 0.5129 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.2386, allocations: 5.906 MB / 0.5187 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009097/0.2477, allocations: 4.694 MB / 0.5233 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007012/0.2548, allocations: 2.079 MB / 0.5253 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.2607, allocations: 2.827 MB / 0.5281 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002518/0.2632, allocations: 444 kB / 0.5285 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.2678, allocations: 1.475 MB / 0.5299 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3862/0.6541, allocations: 2.632 MB / 0.5325 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00918/0.6633, allocations: 2.938 MB / 0.5354 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01985/0.6832, allocations: 9.372 MB / 0.5445 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.6833, allocations: 0 / 0.5445 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6833, allocations: 1.875 kB / 0.5445 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000546/0.6839, allocations: 1.188 kB / 0.5445 GB, free: 10.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.03218/0.7161, allocations: 6.389 MB / 0.5508 GB, free: 7.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.7161, allocations: 13.45 kB / 0.5508 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.7314, allocations: 2.637 MB / 0.5534 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.7463, allocations: 4.024 MB / 0.5573 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/0.7468, allocations: 297.7 kB / 0.5576 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003204/0.75, allocations: 399.1 kB / 0.558 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/0.7844, allocations: 12.62 MB / 0.5703 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004323/0.7849, allocations: 62.47 kB / 0.5703 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/0.7873, allocations: 196.1 kB / 0.5705 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004904/0.7923, allocations: 2.401 MB / 0.5729 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.8209, allocations: 10.54 MB / 0.5832 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08771/0.9087, allocations: 48.59 MB / 0.6306 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.922, allocations: 4.801 MB / 0.6353 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00413/0.9262, allocations: 2.435 MB / 0.6377 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/0.944, allocations: 7.161 MB / 0.6447 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.9441, allocations: 63.27 kB / 0.6447 GB, free: 6.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 7.404e-06/0.9442, allocations: 0 / 0.6447 GB, free: 6.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05735/1.002, allocations: 18 MB / 0.6623 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/1.002, allocations: 201.2 kB / 0.6625 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01665/1.018, allocations: 5.835 MB / 0.6682 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008871/1.019, allocations: 49.7 kB / 0.6683 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004504/1.024, allocations: 3.949 MB / 0.6721 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.026, allocations: 0.7636 MB / 0.6729 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00602/1.032, allocations: 1.51 MB / 0.6743 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.032, allocations: 301.1 kB / 0.6746 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006117/1.038, allocations: 2.607 MB / 0.6772 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/1.049, allocations: 7.042 MB / 0.684 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.065, allocations: 10.33 MB / 0.6941 GB, free: 448 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002309/1.066, allocations: 44 kB / 0.6942 GB, free: 404 kB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02607/1.092, allocations: 10.4 MB / 0.7043 GB, free: 6.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/1.092, allocations: 76.03 kB / 0.7044 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003679/1.092, allocations: 156 kB / 0.7046 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/1.096, allocations: 1.22 MB / 0.7057 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006509/1.102, allocations: 1.7 MB / 0.7074 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.114, allocations: 8.355 MB / 0.7156 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008807/1.123, allocations: 407.4 kB / 0.716 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002448/1.126, allocations: 444 kB / 0.7164 GB, free: 9.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01025/1.136, allocations: 2.637 MB / 0.719 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/1.138, allocations: 477.7 kB / 0.7194 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.149, allocations: 3.97 MB / 0.7233 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/1.149, allocations: 24 kB / 0.7233 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/1.149, allocations: 4 kB / 0.7233 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.149, allocations: 11.81 kB / 0.7233 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/1.178, allocations: 9.273 MB / 0.7324 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.178, allocations: 4 kB / 0.7324 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.18, allocations: 359.4 kB / 0.7327 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/1.183, allocations: 0.985 MB / 0.7337 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003626/1.184, allocations: 43.92 kB / 0.7337 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009919/1.194, allocations: 7.679 MB / 0.7412 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.194, allocations: 4 kB / 0.7412 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.207, allocations: 6.743 MB / 0.7478 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.21, allocations: 0.8344 MB / 0.7486 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/1.212, allocations: 34.34 kB / 0.7487 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.216, allocations: 111.8 kB / 0.7488 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/1.216, allocations: 121 kB / 0.7489 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.216, allocations: 52 kB / 0.7489 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01146/1.228, allocations: 3.733 MB / 0.7526 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.62e-07/1.228, allocations: 0 / 0.7526 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0112/1.239, allocations: 1.268 MB / 0.7538 GB, free: 2.789 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/1.24, allocations: 169.3 kB / 0.754 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3406/1.581, allocations: 6.234 MB / 0.7601 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/1.581, allocations: 1.406 kB / 0.7601 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004176/1.585, allocations: 1.879 MB / 0.7619 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.59, allocations: 0.6315 MB / 0.7625 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/1.619, allocations: 11.75 MB / 0.774 GB, free: 207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/1.624, allocations: 4.011 MB / 0.7779 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005583/1.63, allocations: 2.283 MB / 0.7801 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.631, allocations: 320.4 kB / 0.7805 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.314e-06/1.631, allocations: 0 / 0.7805 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.08765/1.719, allocations: 44.72 MB / 0.8241 GB, free: 165.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches