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.001691/0.001691, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001861/0.001861, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.507/1.507, allocations: 227.4 MB / 252.3 MB, free: 84 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.2585/0.2585, allocations: 46.18 MB / 351.8 MB, free: 14.28 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.002288/0.002289, allocations: 78.08 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.14, allocations: 62.45 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01986/0.1599, allocations: 16.24 MB / 0.5562 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1724, allocations: 5.341 MB / 0.5614 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.1754, allocations: 103.8 kB / 0.5615 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008666/0.1841, allocations: 4.154 MB / 0.5656 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.1921, allocations: 2.712 MB / 0.5682 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.1959, allocations: 1.26 MB / 0.5695 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01315/0.2091, allocations: 7.735 MB / 0.577 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009311/0.2184, allocations: 5.848 MB / 0.5827 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/0.2241, allocations: 2.671 MB / 0.5853 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.2313, allocations: 3.766 MB / 0.589 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002931/0.2343, allocations: 0.5938 MB / 0.5896 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.2392, allocations: 1.744 MB / 0.5913 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005431/0.2447, allocations: 3.273 MB / 0.5945 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007819/0.2525, allocations: 3.767 MB / 0.5982 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2943/0.5469, allocations: 12.34 MB / 0.6102 GB, free: 22.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5469, allocations: 0 / 0.6102 GB, free: 22.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5469, allocations: 4.156 kB / 0.6102 GB, free: 22.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004942/0.5474, allocations: 0 / 0.6102 GB, free: 22.27 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.03044/0.5779, allocations: 8.05 MB / 0.6181 GB, free: 19.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.578, allocations: 9.891 kB / 0.6181 GB, free: 19.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/0.596, allocations: 3.98 MB / 0.622 GB, free: 18.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.607, allocations: 4.256 MB / 0.6261 GB, free: 17.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.6075, allocations: 405.4 kB / 0.6265 GB, free: 17.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00318/0.6107, allocations: 0.5494 MB / 0.6271 GB, free: 17.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03996/0.6507, allocations: 18.89 MB / 0.6455 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003553/0.6511, allocations: 70.28 kB / 0.6456 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002865/0.6539, allocations: 251.5 kB / 0.6458 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005111/0.6591, allocations: 3.423 MB / 0.6492 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/0.693, allocations: 16.64 MB / 0.6654 GB, free: 11.49 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.09942/0.7925, allocations: 66.72 MB / 0.7306 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/0.8092, allocations: 6.279 MB / 0.7367 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/0.814, allocations: 2.83 MB / 0.7395 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02543/0.8395, allocations: 13.95 MB / 0.7531 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.8396, allocations: 64.56 kB / 0.7531 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.693e-06/0.8396, allocations: 0 / 0.7531 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08992/0.9295, allocations: 25.22 MB / 0.7778 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.9297, allocations: 195.9 kB / 0.778 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0099/0.9396, allocations: 5.895 MB / 0.7837 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007145/0.9404, allocations: 73.7 kB / 0.7838 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005284/0.9457, allocations: 5.159 MB / 0.7888 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002401/0.9481, allocations: 1.343 MB / 0.7901 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003552/0.9517, allocations: 1.91 MB / 0.792 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.9519, allocations: 309.1 kB / 0.7923 GB, free: 8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006035/0.9579, allocations: 3.361 MB / 0.7956 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/0.9715, allocations: 8.875 MB / 0.8042 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.9905, allocations: 13.2 MB / 0.8171 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002009/0.9907, allocations: 56 kB / 0.8172 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03207/1.023, allocations: 13.03 MB / 0.8299 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/1.023, allocations: 91.94 kB / 0.83 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004347/1.024, allocations: 194.8 kB / 0.8302 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/1.029, allocations: 1.321 MB / 0.8315 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/1.037, allocations: 2.207 MB / 0.8336 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.051, allocations: 7.848 MB / 0.8413 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007697/1.059, allocations: 0.5096 MB / 0.8418 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/1.061, allocations: 0.5547 MB / 0.8423 GB, free: 236 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.3171/1.378, allocations: 3.445 MB / 0.8457 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.38, allocations: 0.5505 MB / 0.8462 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.392, allocations: 5.414 MB / 0.8515 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-05/1.392, allocations: 35.38 kB / 0.8516 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.392, allocations: 7.469 kB / 0.8516 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/1.392, allocations: 18.78 kB / 0.8516 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.419, allocations: 13.91 MB / 0.8652 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.419, allocations: 11.81 kB / 0.8652 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/1.421, allocations: 0.5009 MB / 0.8657 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/1.424, allocations: 0.8073 MB / 0.8665 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/1.425, allocations: 65.41 kB / 0.8665 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/1.433, allocations: 5.814 MB / 0.8722 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.433, allocations: 19.62 kB / 0.8722 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.445, allocations: 8.333 MB / 0.8804 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.447, allocations: 0.5882 MB / 0.8809 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008346/1.448, allocations: 64.56 kB / 0.881 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.45, allocations: 133.3 kB / 0.8811 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.451, allocations: 223.8 kB / 0.8813 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/1.451, allocations: 105.5 kB / 0.8814 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005714/1.456, allocations: 3.644 MB / 0.885 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.71e-07/1.456, allocations: 0 / 0.885 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008948/1.465, allocations: 1.624 MB / 0.8866 GB, free: 205.4 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.0008202/1.466, allocations: 270 kB / 0.8868 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.477, allocations: 7.947 MB / 0.8946 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.477, allocations: 0 / 0.8946 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/1.481, allocations: 2.391 MB / 0.8969 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/1.485, allocations: 0.6962 MB / 0.8976 GB, free: 194.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.51, allocations: 16.18 MB / 0.9134 GB, free: 178 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005551/1.515, allocations: 5.145 MB / 0.9184 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.517, allocations: 455.4 kB / 0.9189 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.517, allocations: 0 / 0.9189 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.1456/1.663, allocations: 126.8 MB / 1.043 GB, free: 45.74 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.949231827049516]