Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001765/0.001765, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.001944/0.001944, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.497/1.497, allocations: 227.4 MB / 251.6 MB, free: 44 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2546/0.2546, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 85.06 kB / 490.2 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1503, allocations: 62.44 MB / 0.5397 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01971/0.1701, allocations: 16.25 MB / 0.5555 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.184, allocations: 5.349 MB / 0.5608 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.188, allocations: 99.75 kB / 0.5609 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008995/0.197, allocations: 4.154 MB / 0.5649 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008714/0.2058, allocations: 2.706 MB / 0.5676 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.2095, allocations: 1.271 MB / 0.5688 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2217, allocations: 7.725 MB / 0.5763 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008213/0.2299, allocations: 5.84 MB / 0.582 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.2354, allocations: 2.675 MB / 0.5847 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007107/0.2425, allocations: 3.766 MB / 0.5883 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00264/0.2452, allocations: 0.5938 MB / 0.5889 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.2506, allocations: 1.748 MB / 0.5906 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005944/0.2566, allocations: 3.269 MB / 0.5938 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009838/0.2665, allocations: 3.771 MB / 0.5975 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3754/0.6419, allocations: 12.34 MB / 0.6095 GB, free: 22.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.642, allocations: 0.625 kB / 0.6095 GB, free: 22.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.642, allocations: 0 / 0.6095 GB, free: 22.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006319/0.6427, allocations: 2.438 kB / 0.6095 GB, free: 22.41 MB / 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.03069/0.6734, allocations: 8.049 MB / 0.6174 GB, free: 19.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6734, allocations: 9.062 kB / 0.6174 GB, free: 19.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.6924, allocations: 3.987 MB / 0.6213 GB, free: 18.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.7051, allocations: 4.255 MB / 0.6255 GB, free: 17.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/0.7056, allocations: 401 kB / 0.6258 GB, free: 17.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/0.7091, allocations: 0.5582 MB / 0.6264 GB, free: 17.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/0.7514, allocations: 18.88 MB / 0.6448 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.7517, allocations: 71.95 kB / 0.6449 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.753, allocations: 249 kB / 0.6451 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004588/0.7576, allocations: 3.432 MB / 0.6485 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.035/0.7926, allocations: 16.64 MB / 0.6647 GB, free: 11.51 MB / 478.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.1097/0.9023, allocations: 66.71 MB / 0.7299 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/0.9199, allocations: 6.275 MB / 0.736 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005183/0.9251, allocations: 2.834 MB / 0.7388 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02499/0.9501, allocations: 13.96 MB / 0.7524 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.9502, allocations: 66.42 kB / 0.7525 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 5.43e-06/0.9502, allocations: 0 / 0.7525 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.1069/1.057, allocations: 25.22 MB / 0.7771 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.057, allocations: 184.3 kB / 0.7773 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009498/1.067, allocations: 5.894 MB / 0.783 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008536/1.068, allocations: 73.7 kB / 0.7831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004696/1.072, allocations: 5.172 MB / 0.7882 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.074, allocations: 1.337 MB / 0.7895 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003092/1.078, allocations: 1.924 MB / 0.7913 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.078, allocations: 308.3 kB / 0.7916 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005777/1.083, allocations: 3.357 MB / 0.7949 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/1.097, allocations: 8.876 MB / 0.8036 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01929/1.116, allocations: 13.2 MB / 0.8165 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/1.116, allocations: 56 kB / 0.8165 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0346/1.151, allocations: 13.03 MB / 0.8293 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/1.151, allocations: 93.97 kB / 0.8293 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005028/1.152, allocations: 192 kB / 0.8295 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/1.159, allocations: 1.318 MB / 0.8308 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/1.171, allocations: 2.207 MB / 0.833 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/1.192, allocations: 7.852 MB / 0.8406 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.204, allocations: 0.5061 MB / 0.8411 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/1.207, allocations: 0.5543 MB / 0.8417 GB, free: 296 kB / 0.6387 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.4131/1.62, allocations: 3.443 MB / 0.845 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/1.622, allocations: 0.5516 MB / 0.8456 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.634, allocations: 5.411 MB / 0.8509 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/1.634, allocations: 38.92 kB / 0.8509 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.634, allocations: 6.438 kB / 0.8509 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-05/1.634, allocations: 17.22 kB / 0.8509 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.663, allocations: 13.91 MB / 0.8645 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.663, allocations: 7.906 kB / 0.8645 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.665, allocations: 0.5004 MB / 0.865 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/1.668, allocations: 0.8109 MB / 0.8658 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.668, allocations: 65.69 kB / 0.8659 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008257/1.676, allocations: 5.814 MB / 0.8715 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.676, allocations: 19.56 kB / 0.8715 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.689, allocations: 8.324 MB / 0.8797 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.691, allocations: 0.5936 MB / 0.8803 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/1.692, allocations: 66.25 kB / 0.8803 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.694, allocations: 138.8 kB / 0.8805 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004717/1.694, allocations: 222.6 kB / 0.8807 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.694, allocations: 106.1 kB / 0.8808 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005491/1.7, allocations: 3.643 MB / 0.8843 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/1.7, allocations: 0 / 0.8843 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008984/1.709, allocations: 1.626 MB / 0.8859 GB, free: 205.5 MB / 0.6387 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.00077/1.71, allocations: 267.5 kB / 0.8862 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.721, allocations: 7.942 MB / 0.8939 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.187e-05/1.722, allocations: 4 kB / 0.8939 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003891/1.725, allocations: 2.389 MB / 0.8963 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.73, allocations: 0.7019 MB / 0.8969 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.753, allocations: 15.43 MB / 0.912 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004922/1.758, allocations: 5.162 MB / 0.9171 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005896/1.764, allocations: 2.958 MB / 0.9199 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.765, allocations: 387.4 kB / 0.9203 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.443e-06/1.765, allocations: 0 / 0.9203 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.09082/1.856, allocations: 55.9 MB / 0.9749 GB, free: 114.6 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.642339768819511]