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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.8506/0.8506, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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.1371/0.1371, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.727e-05, allocations: 8.219 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0111/0.01113, allocations: 15.8 MB / 363.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02149, allocations: 5.21 MB / 368.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.02451, allocations: 111.5 kB / 368.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005965/0.03048, allocations: 4.489 MB / 373.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007058/0.03754, allocations: 2.963 MB / 376.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.04016, allocations: 1.431 MB / 377.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00924/0.0494, allocations: 8.41 MB / 386.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007097/0.0565, allocations: 5.683 MB / 391.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008098/0.0646, allocations: 4.19 MB / 395.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.07082, allocations: 4.345 MB / 400.3 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002059/0.07288, allocations: 0.6055 MB / 400.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.07664, allocations: 1.748 MB / 402.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004261/0.0809, allocations: 3.6 MB / 406.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004334/0.08524, allocations: 2.251 MB / 408.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.09606, allocations: 8.034 MB / 416.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.09607, allocations: 3.938 kB / 416.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09607, allocations: 0 / 416.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003554/0.09642, allocations: 11.94 kB / 416.5 MB, free: 4.293 MB / 346.7 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.01395/0.1104, allocations: 8.705 MB / 425.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1104, allocations: 8.031 kB / 425.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.1211, allocations: 4.981 MB / 430.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/0.1296, allocations: 3.88 MB / 434.1 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.1299, allocations: 394.4 kB / 434.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.1318, allocations: 0.5541 MB / 435.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1926/0.3243, allocations: 11.29 MB / 446.4 MB, free: 57.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/0.3247, allocations: 67.25 kB / 446.4 MB, free: 57.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007577/0.3254, allocations: 247.8 kB / 446.7 MB, free: 57.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003289/0.3287, allocations: 3.428 MB / 450.1 MB, free: 57.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.3477, allocations: 6.815 MB / 456.9 MB, free: 57.51 MB / 362.7 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.05759/0.4053, allocations: 70.61 MB / 0.5152 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008376/0.4136, allocations: 3.413 MB / 0.5185 GB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.4156, allocations: 0.9819 MB / 0.5194 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/0.4289, allocations: 7.899 MB / 0.5272 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.4289, allocations: 63.39 kB / 0.5272 GB, free: 10.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 5.781e-06/0.4289, allocations: 1.641 kB / 0.5272 GB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=345): time 0.04048/0.4694, allocations: 18.74 MB / 0.5455 GB, free: 7.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4695, allocations: 199.4 kB / 0.5457 GB, free: 7.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006289/0.4758, allocations: 5.149 MB / 0.5507 GB, free: 2.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007328/0.4765, allocations: 73.7 kB / 0.5508 GB, free: 2.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003373/0.4799, allocations: 5.371 MB / 0.5561 GB, free: 13.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002429/0.4823, allocations: 1.371 MB / 0.5574 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003085/0.4854, allocations: 2.035 MB / 0.5594 GB, free: 9.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4855, allocations: 476.8 kB / 0.5598 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.4877, allocations: 1.151 MB / 0.561 GB, free: 8.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005936/0.4936, allocations: 9.309 MB / 0.57 GB, free: 11.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.5038, allocations: 11.51 MB / 0.5813 GB, free: 12.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/0.504, allocations: 56 kB / 0.5813 GB, free: 12.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0179/0.5219, allocations: 8.816 MB / 0.5899 GB, free: 3.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.5221, allocations: 95.92 kB / 0.59 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.5223, allocations: 192 kB / 0.5902 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.5252, allocations: 1.131 MB / 0.5913 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1911/0.7163, allocations: 2.204 MB / 0.5935 GB, free: 144 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.7229, allocations: 4.602 MB / 0.598 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.7295, allocations: 0.6097 MB / 0.5986 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/0.7312, allocations: 0.5558 MB / 0.5991 GB, free: 142 MB / 458.7 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.002868/0.734, allocations: 0.9111 MB / 0.6 GB, free: 141.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.7351, allocations: 0.5956 MB / 0.6006 GB, free: 141.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/0.7406, allocations: 2.917 MB / 0.6034 GB, free: 141.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/0.7406, allocations: 40.19 kB / 0.6035 GB, free: 141.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.7406, allocations: 6.234 kB / 0.6035 GB, free: 141.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.7406, allocations: 17.95 kB / 0.6035 GB, free: 141.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.7579, allocations: 9.836 MB / 0.6131 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.7579, allocations: 15.06 kB / 0.6131 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.7592, allocations: 0.4914 MB / 0.6136 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.7612, allocations: 0.7012 MB / 0.6143 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.7615, allocations: 71.86 kB / 0.6143 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/0.7657, allocations: 3.458 MB / 0.6177 GB, free: 138.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.7657, allocations: 18.56 kB / 0.6177 GB, free: 138.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/0.773, allocations: 4.511 MB / 0.6221 GB, free: 137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.7749, allocations: 0.8321 MB / 0.623 GB, free: 136.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/0.7755, allocations: 68.88 kB / 0.623 GB, free: 136.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.7768, allocations: 193 kB / 0.6232 GB, free: 136.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.7771, allocations: 230 kB / 0.6234 GB, free: 136.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.7773, allocations: 112.1 kB / 0.6235 GB, free: 136.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002821/0.7801, allocations: 2.203 MB / 0.6257 GB, free: 136 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7801, allocations: 0 / 0.6257 GB, free: 136 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006503/0.7866, allocations: 1.792 MB / 0.6274 GB, free: 135.7 MB / 458.7 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.0007727/0.7874, allocations: 301.7 kB / 0.6277 GB, free: 135.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00755/0.7949, allocations: 4.947 MB / 0.6326 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.7949, allocations: 4 kB / 0.6326 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.797, allocations: 1.399 MB / 0.6339 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.7999, allocations: 0.6491 MB / 0.6346 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.819, allocations: 13.02 MB / 0.6473 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.8212, allocations: 2.131 MB / 0.6494 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003779/0.825, allocations: 2.494 MB / 0.6518 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.8258, allocations: 376.4 kB / 0.6522 GB, free: 112.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.943e-06/0.8258, allocations: 0 / 0.6522 GB, free: 112.9 MB / 458.7 MB Notification: Performance of Templates: time 0.07032/0.8961, allocations: 51.95 MB / 0.7029 GB, free: 61.16 MB / 458.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.275151862297207]