Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.MultiBody.Forces.FrameForces2,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00236/0.002365, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 222.5 MB, free: 13.85 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: 90.86 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2933/0.2933, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006884/0.0006885, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1503, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4957/0.646, allocations: 106.9 MB / 0.5831 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07502/0.7211, allocations: 23.61 MB / 0.6062 GB, free: 5.535 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02754/0.7487, allocations: 0.5222 MB / 0.6067 GB, free: 5.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02175/0.7705, allocations: 5.432 MB / 0.612 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06488/0.8354, allocations: 15.22 MB / 0.6269 GB, free: 308 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009957/0.8454, allocations: 1.225 MB / 0.6281 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1407/0.9862, allocations: 52.41 MB / 0.6793 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02123/1.007, allocations: 9.584 MB / 0.6886 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006205/1.014, allocations: 2.099 MB / 0.6907 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007131/1.021, allocations: 2.905 MB / 0.6935 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.002212/1.023, allocations: 296 kB / 0.6938 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/1.028, allocations: 1.147 MB / 0.6949 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.006778/1.035, allocations: 3.371 MB / 0.6982 GB, free: 7.121 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.003933/1.039, allocations: 1.657 MB / 0.6998 GB, free: 5.453 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01914/1.058, allocations: 11.45 MB / 0.711 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.058, allocations: 0 / 0.711 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.777e-06/1.058, allocations: 0 / 0.711 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005123/1.059, allocations: 0 / 0.711 GB, free: 9.977 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.0328/1.092, allocations: 8.623 MB / 0.7194 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.092, allocations: 8.031 kB / 0.7194 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8024/1.894, allocations: 14.23 MB / 0.7333 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.916, allocations: 7.074 MB / 0.7402 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/1.917, allocations: 487.1 kB / 0.7407 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/1.92, allocations: 0.6416 MB / 0.7413 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05319/1.973, allocations: 19.06 MB / 0.7599 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000455/1.974, allocations: 90.52 kB / 0.76 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002534/1.976, allocations: 294.8 kB / 0.7603 GB, free: 165 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0097/1.986, allocations: 3.421 MB / 0.7636 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05077/2.037, allocations: 15.86 MB / 0.7791 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1598/2.196, allocations: 70.04 MB / 0.8475 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04779/2.244, allocations: 8.244 MB / 0.8556 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/2.246, allocations: 0.6553 MB / 0.8562 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.248e-05/2.246, allocations: 72.81 kB / 0.8563 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 1.087e-05/2.246, allocations: 4 kB / 0.8563 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.1493/2.395, allocations: 31.88 MB / 0.8874 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/2.395, allocations: 291.7 kB / 0.8877 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/2.41, allocations: 8.136 MB / 0.8956 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/2.411, allocations: 73.7 kB / 0.8957 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00421/2.416, allocations: 5.285 MB / 0.9009 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/2.418, allocations: 1.248 MB / 0.9021 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008785/2.418, allocations: 188 kB / 0.9023 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000499/2.419, allocations: 0.7035 MB / 0.903 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008818/2.428, allocations: 3.579 MB / 0.9064 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/2.441, allocations: 9.037 MB / 0.9153 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3565/2.798, allocations: 5.539 MB / 0.9207 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/2.798, allocations: 55.44 kB / 0.9207 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.0379/2.836, allocations: 13.1 MB / 0.9335 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/2.836, allocations: 91.42 kB / 0.9336 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004818/2.836, allocations: 192.8 kB / 0.9338 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/2.843, allocations: 1.299 MB / 0.9351 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/2.857, allocations: 2.227 MB / 0.9372 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/2.878, allocations: 12.7 MB / 0.9496 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.889, allocations: 0.5296 MB / 0.9502 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/2.891, allocations: 0.5441 MB / 0.9507 GB, free: 150.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1144): * Single equations (assignments): 1137 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01076/2.902, allocations: 3.746 MB / 0.9543 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/2.904, allocations: 0.6604 MB / 0.955 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02106/2.925, allocations: 6.39 MB / 0.9612 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001202/2.926, allocations: 41.23 kB / 0.9613 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/2.926, allocations: 10.5 kB / 0.9613 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/2.926, allocations: 16.73 kB / 0.9613 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04534/2.971, allocations: 15.52 MB / 0.9765 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/2.971, allocations: 4.094 kB / 0.9765 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005705/2.977, allocations: 0.6045 MB / 0.9771 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00452/2.982, allocations: 0.961 MB / 0.978 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006559/2.982, allocations: 59.98 kB / 0.978 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/3, allocations: 11.54 MB / 0.9893 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3, allocations: 4 kB / 0.9893 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02447/3.024, allocations: 10.71 MB / 0.9998 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004704/3.029, allocations: 1.242 MB / 1.001 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/3.031, allocations: 54.2 kB / 1.001 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006241/3.038, allocations: 205.1 kB / 1.001 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/3.039, allocations: 198.3 kB / 1.001 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003597/3.039, allocations: 83.98 kB / 1.002 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01257/3.052, allocations: 5.273 MB / 1.007 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/3.052, allocations: 0 / 1.007 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01166/3.064, allocations: 1.865 MB / 1.008 GB, free: 99.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/3.065, allocations: 228.2 kB / 1.009 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02109/3.086, allocations: 9.062 MB / 1.018 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/3.086, allocations: 4 kB / 1.018 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007397/3.094, allocations: 3.329 MB / 1.021 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007458/3.101, allocations: 0.9234 MB / 1.022 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04646/3.148, allocations: 21.73 MB / 1.043 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/3.16, allocations: 5.908 MB / 1.049 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003465/3.163, allocations: 0.5189 MB / 1.049 GB, free: 57.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/3.163, allocations: 0 / 1.049 GB, free: 57.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.7764/3.94, allocations: 237.3 MB / 1.281 GB, free: 19.75 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches