Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 108 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 343.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 74.81 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1285, allocations: 62.44 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.329/0.4575, allocations: 81.43 MB / 0.5478 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04275/0.5003, allocations: 15.56 MB / 0.563 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0187/0.519, allocations: 359.5 kB / 0.5633 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009859/0.5289, allocations: 4.82 MB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007438/0.5364, allocations: 2.3 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.5392, allocations: 1.045 MB / 0.5713 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.5499, allocations: 7.296 MB / 0.5784 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009168/0.5591, allocations: 6.082 MB / 0.5843 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.5633, allocations: 2.449 MB / 0.5867 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005053/0.5684, allocations: 3.583 MB / 0.5902 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.5701, allocations: 0.5039 MB / 0.5907 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.5734, allocations: 1.408 MB / 0.5921 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.5774, allocations: 3.016 MB / 0.595 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006145/0.5836, allocations: 3.375 MB / 0.5983 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.5953, allocations: 10.13 MB / 0.6082 GB, free: 3.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5953, allocations: 4 kB / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5954, allocations: 0 / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003617/0.5957, allocations: 0 / 0.6082 GB, free: 3.188 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02077/0.6165, allocations: 7.397 MB / 0.6155 GB, free: 11.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.6166, allocations: 16.02 kB / 0.6155 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.6296, allocations: 2.703 MB / 0.6181 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.6387, allocations: 4.191 MB / 0.6222 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/0.639, allocations: 361.7 kB / 0.6226 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.6403, allocations: 491.5 kB / 0.623 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.6656, allocations: 14.68 MB / 0.6374 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/0.6658, allocations: 71.36 kB / 0.6374 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/0.6664, allocations: 227.8 kB / 0.6376 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004651/0.6711, allocations: 2.742 MB / 0.6403 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/0.6986, allocations: 12.49 MB / 0.6525 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08068/0.7793, allocations: 58.25 MB / 0.7094 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7985, allocations: 7.285 MB / 0.7165 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2385/1.037, allocations: 3.882 MB / 0.7203 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/1.054, allocations: 8.974 MB / 0.7291 GB, free: 192.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.054, allocations: 68.5 kB / 0.7291 GB, free: 192.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 5.28e-06/1.054, allocations: 2.812 kB / 0.7291 GB, free: 192.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.08547/1.139, allocations: 32.73 MB / 0.7611 GB, free: 178 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.139, allocations: 242.8 kB / 0.7613 GB, free: 177.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.151, allocations: 6.648 MB / 0.7678 GB, free: 171 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/1.152, allocations: 73.53 kB / 0.7679 GB, free: 171 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/1.156, allocations: 4.377 MB / 0.7722 GB, free: 166.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.157, allocations: 1.097 MB / 0.7732 GB, free: 165.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003702/1.161, allocations: 1.784 MB / 0.775 GB, free: 163.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/1.161, allocations: 305.1 kB / 0.7753 GB, free: 163.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006193/1.167, allocations: 3.616 MB / 0.7788 GB, free: 159.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/1.174, allocations: 8.615 MB / 0.7872 GB, free: 148.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.186, allocations: 13.15 MB / 0.8001 GB, free: 133.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001916/1.186, allocations: 55.94 kB / 0.8001 GB, free: 133.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0241/1.21, allocations: 14.04 MB / 0.8138 GB, free: 119.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/1.211, allocations: 80 kB / 0.8139 GB, free: 119 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.211, allocations: 172 kB / 0.8141 GB, free: 118.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005184/1.216, allocations: 2.26 MB / 0.8163 GB, free: 116.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/1.222, allocations: 2.024 MB / 0.8183 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.237, allocations: 14.24 MB / 0.8322 GB, free: 100.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007685/1.244, allocations: 0.5079 MB / 0.8327 GB, free: 99.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/1.246, allocations: 0.5078 MB / 0.8331 GB, free: 99.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1058): * Single equations (assignments): 1051 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00557/1.251, allocations: 2.985 MB / 0.8361 GB, free: 96.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.253, allocations: 0.5553 MB / 0.8366 GB, free: 95.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.265, allocations: 7.231 MB / 0.8437 GB, free: 88.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/1.265, allocations: 32 kB / 0.8437 GB, free: 88.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.265, allocations: 8 kB / 0.8437 GB, free: 88.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.17e-05/1.265, allocations: 11.95 kB / 0.8437 GB, free: 88.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.293, allocations: 15.16 MB / 0.8585 GB, free: 72.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.293, allocations: 4 kB / 0.8585 GB, free: 72.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.295, allocations: 492.2 kB / 0.859 GB, free: 72.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004867/1.3, allocations: 2.026 MB / 0.861 GB, free: 70.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003863/1.301, allocations: 52 kB / 0.861 GB, free: 70.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/1.315, allocations: 13.53 MB / 0.8742 GB, free: 56.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.315, allocations: 11.94 kB / 0.8742 GB, free: 56.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.33, allocations: 11.47 MB / 0.8854 GB, free: 44.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.332, allocations: 0.6342 MB / 0.8861 GB, free: 44.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0014/1.333, allocations: 52 kB / 0.8861 GB, free: 44.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/1.336, allocations: 207.6 kB / 0.8863 GB, free: 44.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006761/1.337, allocations: 177.6 kB / 0.8865 GB, free: 43.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/1.337, allocations: 72 kB / 0.8866 GB, free: 43.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006733/1.344, allocations: 4.264 MB / 0.8907 GB, free: 39.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/1.344, allocations: 0 / 0.8907 GB, free: 39.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008023/1.352, allocations: 1.588 MB / 0.8923 GB, free: 37.99 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007645/1.353, allocations: 189.4 kB / 0.8924 GB, free: 37.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.367, allocations: 10.49 MB / 0.9027 GB, free: 27.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.367, allocations: 6 kB / 0.9027 GB, free: 27.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005146/1.372, allocations: 3.532 MB / 0.9061 GB, free: 23.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/1.377, allocations: 0.7242 MB / 0.9069 GB, free: 23.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2194/1.596, allocations: 17.81 MB / 0.9242 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006967/1.603, allocations: 4.535 MB / 0.9287 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007844/1.611, allocations: 2.784 MB / 0.9314 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.613, allocations: 387.7 kB / 0.9318 GB, free: 174.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.613, allocations: 0 / 0.9318 GB, free: 174.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1178/1.73, allocations: 67.64 MB / 0.9978 GB, free: 124.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches