Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.692/1.692, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3904/0.3904, allocations: 39.94 MB / 309.7 MB, free: 9.277 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 67.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1562, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01829/0.1745, allocations: 16.38 MB / 450.9 MB, free: 3.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.346/0.5206, allocations: 5.29 MB / 456.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004615/0.5253, allocations: 101 kB / 456.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009084/0.5344, allocations: 4.177 MB / 460.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.5472, allocations: 2.761 MB / 463.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.5515, allocations: 1.266 MB / 464.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.5629, allocations: 7.443 MB / 471.9 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008338/0.5712, allocations: 5.87 MB / 477.8 MB, free: 31.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006413/0.5777, allocations: 2.681 MB / 480.4 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007331/0.585, allocations: 3.799 MB / 484.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003701/0.5888, allocations: 0.5938 MB / 484.8 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007674/0.5965, allocations: 1.754 MB / 486.6 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00789/0.6044, allocations: 3.309 MB / 489.9 MB, free: 27.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0154/0.6198, allocations: 3.806 MB / 493.7 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02673/0.6466, allocations: 11.98 MB / 0.4938 GB, free: 19.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.6466, allocations: 0 / 0.4938 GB, free: 19.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6467, allocations: 1.344 kB / 0.4938 GB, free: 19.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008035/0.6475, allocations: 4 kB / 0.4938 GB, free: 19.48 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.04206/0.6895, allocations: 7.893 MB / 0.5015 GB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.6896, allocations: 14.02 kB / 0.5016 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01971/0.7093, allocations: 3.943 MB / 0.5054 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.7247, allocations: 4.411 MB / 0.5097 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007101/0.7254, allocations: 401.5 kB / 0.5101 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005178/0.7306, allocations: 0.5548 MB / 0.5106 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05529/0.786, allocations: 18.87 MB / 0.5291 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007443/0.7868, allocations: 75.31 kB / 0.5291 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005138/0.7919, allocations: 246.4 kB / 0.5294 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006851/0.7988, allocations: 3.429 MB / 0.5327 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04825/0.8471, allocations: 16.63 MB / 0.549 GB, free: 15.78 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/0.9574, allocations: 66.93 MB / 0.6143 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/0.9743, allocations: 6.278 MB / 0.6205 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/0.9786, allocations: 2.82 MB / 0.6232 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3907/1.369, allocations: 13.85 MB / 0.6367 GB, free: 125.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.369, allocations: 64.41 kB / 0.6368 GB, free: 125.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.021e-06/1.369, allocations: 0 / 0.6368 GB, free: 125.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.1011/1.47, allocations: 25.09 MB / 0.6613 GB, free: 118.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.471, allocations: 188.5 kB / 0.6615 GB, free: 118 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/1.484, allocations: 5.916 MB / 0.6673 GB, free: 115.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009491/1.485, allocations: 73.2 kB / 0.6673 GB, free: 115.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005171/1.49, allocations: 4.96 MB / 0.6722 GB, free: 112.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00308/1.493, allocations: 1.287 MB / 0.6734 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003932/1.497, allocations: 1.906 MB / 0.6753 GB, free: 110.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/1.497, allocations: 301.1 kB / 0.6756 GB, free: 109.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005608/1.503, allocations: 3.362 MB / 0.6789 GB, free: 108.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007884/1.511, allocations: 8.867 MB / 0.6875 GB, free: 100.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.526, allocations: 13.2 MB / 0.7004 GB, free: 86.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/1.526, allocations: 52 kB / 0.7005 GB, free: 86.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03044/1.556, allocations: 13 MB / 0.7131 GB, free: 75.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003188/1.557, allocations: 88.94 kB / 0.7132 GB, free: 75.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004414/1.557, allocations: 192 kB / 0.7134 GB, free: 75.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/1.562, allocations: 1.33 MB / 0.7147 GB, free: 73.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009823/1.572, allocations: 2.199 MB / 0.7169 GB, free: 71.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.584, allocations: 7.847 MB / 0.7245 GB, free: 63.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.594, allocations: 0.5052 MB / 0.725 GB, free: 63.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/1.597, allocations: 0.556 MB / 0.7256 GB, free: 62.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1172 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01129/1.608, allocations: 3.463 MB / 0.7289 GB, free: 59.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/1.611, allocations: 0.5244 MB / 0.7295 GB, free: 58.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.626, allocations: 5.402 MB / 0.7347 GB, free: 53.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/1.626, allocations: 36 kB / 0.7348 GB, free: 53.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-05/1.626, allocations: 11.94 kB / 0.7348 GB, free: 53.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.987e-05/1.626, allocations: 15.94 kB / 0.7348 GB, free: 53.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03214/1.658, allocations: 14.01 MB / 0.7485 GB, free: 38.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/1.658, allocations: 12.22 kB / 0.7485 GB, free: 38.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.66, allocations: 0.4915 MB / 0.749 GB, free: 38.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/1.663, allocations: 0.8201 MB / 0.7498 GB, free: 37.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.664, allocations: 67.98 kB / 0.7498 GB, free: 37.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007918/1.672, allocations: 5.815 MB / 0.7555 GB, free: 31.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.672, allocations: 15.94 kB / 0.7555 GB, free: 31.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.685, allocations: 8.291 MB / 0.7636 GB, free: 22.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/1.688, allocations: 0.9252 MB / 0.7645 GB, free: 21.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.689, allocations: 63.98 kB / 0.7646 GB, free: 21.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.691, allocations: 131.5 kB / 0.7647 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/1.692, allocations: 217.5 kB / 0.7649 GB, free: 21.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.692, allocations: 108 kB / 0.765 GB, free: 21.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00628/1.699, allocations: 3.676 MB / 0.7686 GB, free: 17.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.42e-07/1.699, allocations: 0 / 0.7686 GB, free: 17.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01259/1.711, allocations: 1.655 MB / 0.7702 GB, free: 16.11 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/1.712, allocations: 262.5 kB / 0.7705 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01976/1.732, allocations: 11.31 MB / 0.7815 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.791e-05/1.732, allocations: 4 kB / 0.7815 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004194/1.736, allocations: 2.38 MB / 0.7838 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/1.744, allocations: 0.7049 MB / 0.7845 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04165/1.786, allocations: 15.44 MB / 0.7996 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/1.8, allocations: 5.17 MB / 0.8047 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01078/1.811, allocations: 2.962 MB / 0.8076 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/1.813, allocations: 391.4 kB / 0.8079 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of SimCode: time 2.625e-06/1.813, allocations: 0 / 0.8079 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of Templates: time 0.3994/2.213, allocations: 61.05 MB / 0.8675 GB, free: 141.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)