Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2227/0.2227, allocations: 46.89 MB / 361.1 MB, free: 4.605 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-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 79.86 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3385, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0201/0.3586, allocations: 16.35 MB / 0.5772 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.371, allocations: 5.392 MB / 0.5824 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.3745, allocations: 99.75 kB / 0.5825 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008747/0.3832, allocations: 4.228 MB / 0.5867 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008606/0.3918, allocations: 2.79 MB / 0.5894 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.3953, allocations: 1.271 MB / 0.5906 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4078, allocations: 7.731 MB / 0.5982 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007282/0.415, allocations: 4.348 MB / 0.6024 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.4208, allocations: 2.675 MB / 0.605 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007227/0.428, allocations: 4.089 MB / 0.609 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.4304, allocations: 0.5938 MB / 0.6096 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004629/0.435, allocations: 1.795 MB / 0.6114 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004944/0.4399, allocations: 3.374 MB / 0.6146 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006675/0.4466, allocations: 3.775 MB / 0.6183 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.4631, allocations: 12.34 MB / 0.6304 GB, free: 13.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.4631, allocations: 7.984 kB / 0.6304 GB, free: 13.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4631, allocations: 0 / 0.6304 GB, free: 13.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003837/0.4635, allocations: 0 / 0.6304 GB, free: 13.83 MB / 478.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.02027/0.4838, allocations: 8.042 MB / 0.6382 GB, free: 5.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4838, allocations: 8.031 kB / 0.6383 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.5008, allocations: 3.993 MB / 0.6422 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.5119, allocations: 4.25 MB / 0.6463 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.5123, allocations: 402 kB / 0.6467 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/0.5145, allocations: 0.5504 MB / 0.6472 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/0.5524, allocations: 18.88 MB / 0.6657 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.5526, allocations: 67.41 kB / 0.6657 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.5536, allocations: 243.8 kB / 0.666 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005935/0.5595, allocations: 3.432 MB / 0.6693 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03728/0.5968, allocations: 16.64 MB / 0.6856 GB, free: 4.086 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.5957/1.193, allocations: 66.72 MB / 0.7507 GB, free: 110.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.207, allocations: 6.035 MB / 0.7566 GB, free: 109 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/1.21, allocations: 2.649 MB / 0.7592 GB, free: 109 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/1.232, allocations: 13.96 MB / 0.7728 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/1.232, allocations: 64.31 kB / 0.7729 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.082e-06/1.232, allocations: 3.812 kB / 0.7729 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07408/1.306, allocations: 25.19 MB / 0.7975 GB, free: 81.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.306, allocations: 187.9 kB / 0.7977 GB, free: 81.28 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/1.312, allocations: 5.897 MB / 0.8034 GB, free: 75.52 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005264/1.312, allocations: 76.67 kB / 0.8035 GB, free: 75.45 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.314, allocations: 5.156 MB / 0.8085 GB, free: 70.57 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000961/1.315, allocations: 1.345 MB / 0.8099 GB, free: 69.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/1.317, allocations: 1.927 MB / 0.8117 GB, free: 67.31 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/1.317, allocations: 301.1 kB / 0.812 GB, free: 67.02 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/1.321, allocations: 3.361 MB / 0.8153 GB, free: 63.65 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/1.326, allocations: 8.87 MB / 0.824 GB, free: 52.15 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.337, allocations: 13.19 MB / 0.8369 GB, free: 36.39 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/1.338, allocations: 56 kB / 0.8369 GB, free: 36.33 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02183/1.359, allocations: 13.02 MB / 0.8496 GB, free: 23.27 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/1.36, allocations: 88.22 kB / 0.8497 GB, free: 23.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/1.36, allocations: 196 kB / 0.8499 GB, free: 23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/1.364, allocations: 1.314 MB / 0.8512 GB, free: 21.68 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006419/1.37, allocations: 2.203 MB / 0.8533 GB, free: 19.47 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/1.38, allocations: 7.859 MB / 0.861 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006427/1.387, allocations: 0.5035 MB / 0.8615 GB, free: 10.97 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/1.388, allocations: 0.5541 MB / 0.862 GB, free: 10.42 MB / 0.5607 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.005444/1.394, allocations: 3.448 MB / 0.8654 GB, free: 6.957 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.395, allocations: 0.5549 MB / 0.8659 GB, free: 6.398 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009938/1.405, allocations: 5.384 MB / 0.8712 GB, free: 0.957 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/1.405, allocations: 15.94 kB / 0.8712 GB, free: 0.9414 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/1.405, allocations: 4 kB / 0.8712 GB, free: 0.9375 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.406, allocations: 0.5676 MB / 0.8718 GB, free: 356 kB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007517/1.407, allocations: 57.61 kB / 0.8718 GB, free: 300 kB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.409, allocations: 171.8 kB / 0.872 GB, free: 128 kB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/1.409, allocations: 197.8 kB / 0.8722 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0123/1.422, allocations: 5.733 MB / 0.8778 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01144/1.433, allocations: 8.034 MB / 0.8856 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002947/1.436, allocations: 1.975 MB / 0.8876 GB, free: 112 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006095/1.442, allocations: 3.655 MB / 0.8911 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Backend: time 3.21e-07/1.442, allocations: 0 / 0.8911 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.456, allocations: 6.203 MB / 0.8972 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02728/1.484, allocations: 15.21 MB / 0.912 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.1444/1.628, allocations: 71.92 MB / 0.9823 GB, free: 15.43 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.225369655061513]