Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008721/0.0008721, allocations: 105.2 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 45.15 MB / 383.8 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.548e-05, allocations: 0 / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.6015, allocations: 118.4 MB / 0.62 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6018, allocations: 78.52 kB / 0.6201 GB, free: 452 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7244/1.326, allocations: 157.2 MB / 0.7735 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/1.326, allocations: 0 / 0.7735 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003829/1.327, allocations: 136.3 kB / 0.7737 GB, free: 114.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01882/1.345, allocations: 6.554 MB / 0.7801 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.345, allocations: 7.844 kB / 0.7801 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/1.371, allocations: 6.676 MB / 0.7866 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.389, allocations: 7.168 MB / 0.7936 GB, free: 111 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/1.389, allocations: 229.3 kB / 0.7938 GB, free: 111 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/1.392, allocations: 437 kB / 0.7942 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02056/1.413, allocations: 11.66 MB / 0.8056 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/1.448, allocations: 15.89 MB / 0.8211 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/1.448, allocations: 87.27 kB / 0.8212 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/1.45, allocations: 43.83 kB / 0.8213 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/1.452, allocations: 1.721 MB / 0.823 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08196/1.534, allocations: 70.8 MB / 0.8921 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/1.54, allocations: 4.678 MB / 0.8967 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/1.543, allocations: 2.677 MB / 0.8993 GB, free: 45.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/1.561, allocations: 13.66 MB / 0.9126 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.561, allocations: 56.56 kB / 0.9127 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 6.662e-06/1.561, allocations: 0 / 0.9127 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=346): time 0.03823/1.599, allocations: 17.84 MB / 0.9301 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.599, allocations: 188.3 kB / 0.9303 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006112/1.605, allocations: 4.595 MB / 0.9348 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005653/1.606, allocations: 25.7 kB / 0.9348 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.608, allocations: 5.087 MB / 0.9398 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.61, allocations: 1.246 MB / 0.941 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/1.61, allocations: 4 kB / 0.941 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003698/1.61, allocations: 0.7274 MB / 0.9417 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/1.614, allocations: 3.049 MB / 0.9447 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3297/1.944, allocations: 8.738 MB / 0.9532 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.957, allocations: 5.478 MB / 0.9585 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004204/1.957, allocations: 57.62 kB / 0.9586 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03256/1.99, allocations: 11.89 MB / 0.9702 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.99, allocations: 93.16 kB / 0.9703 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003306/1.991, allocations: 204.6 kB / 0.9705 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/1.995, allocations: 1.314 MB / 0.9718 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009423/2.004, allocations: 2.258 MB / 0.974 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009659/2.014, allocations: 6.843 MB / 0.9807 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008311/2.022, allocations: 387.5 kB / 0.981 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/2.024, allocations: 0.5737 MB / 0.9816 GB, free: 80.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1206): * Single equations (assignments): 1199 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002117/2.027, allocations: 0.6089 MB / 0.9822 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/2.028, allocations: 0.4984 MB / 0.9827 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009487/2.037, allocations: 5.022 MB / 0.9876 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/2.037, allocations: 45.88 kB / 0.9876 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/2.037, allocations: 6.594 kB / 0.9876 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/2.037, allocations: 14.02 kB / 0.9876 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/2.063, allocations: 12.23 MB / 0.9996 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/2.063, allocations: 11.22 kB / 0.9996 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/2.065, allocations: 0.5117 MB / 1 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/2.068, allocations: 0.8606 MB / 1.001 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/2.069, allocations: 18.53 kB / 1.001 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00685/2.076, allocations: 5.156 MB / 1.006 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/2.076, allocations: 16.59 kB / 1.006 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/2.088, allocations: 9.767 MB / 1.016 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/2.089, allocations: 0.5211 MB / 1.016 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005982/2.09, allocations: 17.47 kB / 1.016 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/2.092, allocations: 134.4 kB / 1.016 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/2.092, allocations: 218.3 kB / 1.016 GB, free: 70.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/2.092, allocations: 103.9 kB / 1.017 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004355/2.097, allocations: 3.036 MB / 1.019 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/2.097, allocations: 0 / 1.019 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008365/2.105, allocations: 1.435 MB / 1.021 GB, free: 69.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006427/2.106, allocations: 226 kB / 1.021 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01128/2.117, allocations: 7.291 MB / 1.028 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/2.117, allocations: 3.688 kB / 1.028 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003208/2.12, allocations: 2.275 MB / 1.03 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/2.123, allocations: 0.5033 MB / 1.031 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/2.148, allocations: 12.5 MB / 1.043 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005558/2.153, allocations: 5.313 MB / 1.048 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007235/2.161, allocations: 3.116 MB / 1.051 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/2.162, allocations: 370.9 kB / 1.052 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of SimCode: time 2.003e-06/2.162, allocations: 0 / 1.052 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.08724/2.249, allocations: 50.47 MB / 1.101 GB, free: 18.06 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches