Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001685/0.001685, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.001971/0.001971, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3349, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0179/0.3528, allocations: 14.13 MB / 0.5756 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3646, allocations: 5.112 MB / 0.5806 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.3673, allocations: 115.4 kB / 0.5807 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00913/0.3764, allocations: 4.061 MB / 0.5847 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008594/0.385, allocations: 2.829 MB / 0.5874 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.3889, allocations: 1.26 MB / 0.5887 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.4012, allocations: 7.742 MB / 0.5962 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007009/0.4082, allocations: 4.737 MB / 0.6009 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.4133, allocations: 2.714 MB / 0.6035 GB, free: 9.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006332/0.4196, allocations: 4.089 MB / 0.6075 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.4213, allocations: 0.5938 MB / 0.6081 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.4249, allocations: 1.666 MB / 0.6097 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.4289, allocations: 3.37 MB / 0.613 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.4332, allocations: 2.796 MB / 0.6157 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.4499, allocations: 12.41 MB / 0.6278 GB, free: 304 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4499, allocations: 0 / 0.6278 GB, free: 304 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4499, allocations: 4 kB / 0.6278 GB, free: 300 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003636/0.4503, allocations: 7.938 kB / 0.6279 GB, free: 292 kB / 462.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.02092/0.4712, allocations: 7.97 MB / 0.6356 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4712, allocations: 12.03 kB / 0.6357 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/0.4878, allocations: 3.989 MB / 0.6395 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.4989, allocations: 4.182 MB / 0.6436 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/0.4995, allocations: 398 kB / 0.644 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.5019, allocations: 0.562 MB / 0.6446 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/0.5423, allocations: 18.92 MB / 0.663 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/0.5425, allocations: 71.45 kB / 0.6631 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.5436, allocations: 247.8 kB / 0.6633 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005495/0.5491, allocations: 3.436 MB / 0.6667 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03804/0.5871, allocations: 16.61 MB / 0.6829 GB, free: 6.664 MB / 0.5137 GB 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.3912/0.9783, allocations: 61.65 MB / 0.7431 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.9922, allocations: 5.125 MB / 0.7481 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/0.9957, allocations: 2.648 MB / 0.7507 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02144/1.017, allocations: 10.62 MB / 0.7611 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.017, allocations: 60.34 kB / 0.7611 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 7.764e-06/1.017, allocations: 0 / 0.7611 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08477/1.102, allocations: 25.05 MB / 0.7856 GB, free: 89.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.102, allocations: 184.3 kB / 0.7858 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.108, allocations: 5.621 MB / 0.7913 GB, free: 84.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006865/1.109, allocations: 73.7 kB / 0.7913 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.112, allocations: 5.184 MB / 0.7964 GB, free: 79.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.114, allocations: 1.341 MB / 0.7977 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/1.116, allocations: 1.925 MB / 0.7996 GB, free: 76.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/1.116, allocations: 308.5 kB / 0.7999 GB, free: 75.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/1.121, allocations: 3.357 MB / 0.8032 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006547/1.127, allocations: 8.905 MB / 0.8119 GB, free: 60.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.14, allocations: 13.18 MB / 0.8247 GB, free: 45.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/1.14, allocations: 56 kB / 0.8248 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02457/1.164, allocations: 12.97 MB / 0.8375 GB, free: 32.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.165, allocations: 88.94 kB / 0.8375 GB, free: 31.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002253/1.165, allocations: 192 kB / 0.8377 GB, free: 31.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004259/1.169, allocations: 1.32 MB / 0.839 GB, free: 30.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007621/1.177, allocations: 2.207 MB / 0.8412 GB, free: 28.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.187, allocations: 7.611 MB / 0.8486 GB, free: 20.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006983/1.194, allocations: 0.5112 MB / 0.8491 GB, free: 20.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.196, allocations: 0.5542 MB / 0.8496 GB, free: 19.5 MB / 0.5606 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.005816/1.202, allocations: 3.444 MB / 0.853 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.203, allocations: 0.5044 MB / 0.8535 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.213, allocations: 5.347 MB / 0.8587 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.213, allocations: 15.94 kB / 0.8587 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.213, allocations: 3.938 kB / 0.8587 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.216, allocations: 452.5 kB / 0.8592 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002645/1.219, allocations: 51.98 kB / 0.8592 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/1.222, allocations: 171.8 kB / 0.8594 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005956/1.223, allocations: 205.7 kB / 0.8596 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01006/1.233, allocations: 5.702 MB / 0.8651 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01099/1.244, allocations: 7.988 MB / 0.8729 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003193/1.247, allocations: 1.972 MB / 0.8749 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006217/1.253, allocations: 3.226 MB / 0.878 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Backend: time 8.02e-07/1.253, allocations: 7.938 kB / 0.878 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.27, allocations: 6.205 MB / 0.8841 GB, free: 128 kB / 0.5762 GB Notification: Performance of SimCode: time 0.03208/1.302, allocations: 15.03 MB / 0.8988 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of Templates: time 0.1481/1.45, allocations: 74.62 MB / 0.9716 GB, free: 7.273 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.346250604998204]