Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 185.9 kB / 21.5 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 207.6 MB / 232.1 MB, free: 11.1 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.25 MB / 328.4 MB, free: 10.05 MB / 270.1 MB " [Timeout remaining time 179] 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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "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.002135/0.002135, allocations: 79.81 kB / 465.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 61 MB / 0.5142 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01876/0.1415, allocations: 16.49 MB / 0.5303 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1544, allocations: 5.358 MB / 0.5355 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.1589, allocations: 95.75 kB / 0.5356 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2945/0.4534, allocations: 4.232 MB / 0.5398 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009839/0.4632, allocations: 2.842 MB / 0.5425 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.4667, allocations: 1.269 MB / 0.5438 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01821/0.4849, allocations: 7.449 MB / 0.551 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.495, allocations: 4.367 MB / 0.5553 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008129/0.5031, allocations: 2.695 MB / 0.5579 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008392/0.5115, allocations: 4.125 MB / 0.562 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003586/0.5151, allocations: 0.594 MB / 0.5625 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008955/0.5241, allocations: 1.796 MB / 0.5643 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008928/0.533, allocations: 3.418 MB / 0.5676 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.5466, allocations: 3.802 MB / 0.5713 GB, free: 280 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02645/0.573, allocations: 12.44 MB / 0.5835 GB, free: 7.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.573, allocations: 0 / 0.5835 GB, free: 7.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.573, allocations: 6.094 kB / 0.5835 GB, free: 7.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005765/0.5736, allocations: 0 / 0.5835 GB, free: 7.852 MB / 430.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.02909/0.6027, allocations: 8.108 MB / 0.5914 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/0.6028, allocations: 15.84 kB / 0.5914 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/0.6213, allocations: 3.985 MB / 0.5953 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.6346, allocations: 4.49 MB / 0.5997 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005274/0.6351, allocations: 403.3 kB / 0.6001 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/0.6384, allocations: 0.5504 MB / 0.6006 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04514/0.6835, allocations: 18.87 MB / 0.6191 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/0.6838, allocations: 67.47 kB / 0.6191 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000989/0.6848, allocations: 247.6 kB / 0.6194 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005601/0.6904, allocations: 3.442 MB / 0.6227 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04127/0.7317, allocations: 16.62 MB / 0.639 GB, free: 15.91 MB / 494.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.1251/0.8568, allocations: 66.74 MB / 0.7041 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.8748, allocations: 6.044 MB / 0.71 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005708/0.8805, allocations: 2.637 MB / 0.7126 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03044/0.9109, allocations: 13.88 MB / 0.7262 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.381e-05/0.911, allocations: 64.5 kB / 0.7262 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 7.484e-06/0.911, allocations: 0 / 0.7262 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.09558/1.007, allocations: 25.46 MB / 0.7511 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.007, allocations: 184.3 kB / 0.7513 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.019, allocations: 5.933 MB / 0.7571 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/1.02, allocations: 69.7 kB / 0.7571 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3192/1.339, allocations: 5.157 MB / 0.7622 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002424/1.342, allocations: 1.342 MB / 0.7635 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004595/1.346, allocations: 1.924 MB / 0.7653 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/1.346, allocations: 305 kB / 0.7656 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0065/1.353, allocations: 3.358 MB / 0.7689 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.364, allocations: 8.878 MB / 0.7776 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/1.382, allocations: 13.18 MB / 0.7905 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004572/1.382, allocations: 54.91 kB / 0.7905 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03324/1.415, allocations: 13.01 MB / 0.8032 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/1.416, allocations: 90.53 kB / 0.8033 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000358/1.416, allocations: 193.2 kB / 0.8035 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/1.42, allocations: 1.326 MB / 0.8048 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008243/1.428, allocations: 2.208 MB / 0.8069 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/1.441, allocations: 7.85 MB / 0.8146 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/1.454, allocations: 0.501 MB / 0.8151 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00377/1.457, allocations: 0.5547 MB / 0.8156 GB, free: 161.9 MB / 0.5919 GB 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.01424/1.472, allocations: 3.455 MB / 0.819 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001918/1.474, allocations: 0.555 MB / 0.8195 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.493, allocations: 5.386 MB / 0.8248 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/1.493, allocations: 40.45 kB / 0.8248 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/1.493, allocations: 4 kB / 0.8248 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-05/1.493, allocations: 19.14 kB / 0.8249 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04861/1.542, allocations: 13.91 MB / 0.8384 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.217e-05/1.542, allocations: 12 kB / 0.8385 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004627/1.546, allocations: 0.4914 MB / 0.8389 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00574/1.552, allocations: 0.8246 MB / 0.8397 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/1.553, allocations: 64 kB / 0.8398 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.569, allocations: 5.805 MB / 0.8455 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/1.569, allocations: 17.81 kB / 0.8455 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0246/1.593, allocations: 8.311 MB / 0.8536 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/1.597, allocations: 0.954 MB / 0.8545 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.598, allocations: 63.94 kB / 0.8546 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.6, allocations: 135.9 kB / 0.8547 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.601, allocations: 217.5 kB / 0.8549 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.601, allocations: 107.9 kB / 0.855 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006106/1.607, allocations: 3.674 MB / 0.8586 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/1.607, allocations: 0 / 0.8586 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01062/1.618, allocations: 1.648 MB / 0.8602 GB, free: 122.6 MB / 0.5919 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 () * 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.0009783/1.619, allocations: 269.5 kB / 0.8605 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.633, allocations: 7.583 MB / 0.8679 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.422e-05/1.633, allocations: 1.75 kB / 0.8679 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/1.637, allocations: 2.213 MB / 0.8701 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/1.642, allocations: 0.7019 MB / 0.8707 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.673, allocations: 15.63 MB / 0.886 GB, free: 96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007681/1.681, allocations: 5.182 MB / 0.8911 GB, free: 90.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006616/1.688, allocations: 2.974 MB / 0.894 GB, free: 87.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.689, allocations: 387.4 kB / 0.8944 GB, free: 87.44 MB / 0.5919 GB Notification: Performance of SimCode: time 1.864e-06/1.689, allocations: 0 / 0.8944 GB, free: 87.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.102/1.791, allocations: 55.27 MB / 0.9483 GB, free: 32.3 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.871788026764989]