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.001143/0.001143, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001193/0.001193, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 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.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2954/0.2954, allocations: 34.86 MB / 296.6 MB, free: 0 / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 378.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.992e-05, allocations: 6.312 kB / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01837/0.0184, allocations: 15.6 MB / 394.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.02891, allocations: 5.239 MB / 399.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.03054, allocations: 119.4 kB / 399.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.03484, allocations: 4.458 MB / 404.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.03906, allocations: 2.897 MB / 407.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.04091, allocations: 1.419 MB / 408.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006717/0.04762, allocations: 8.798 MB / 417.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004744/0.05237, allocations: 5.671 MB / 422.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.05636, allocations: 4.144 MB / 427.1 MB, free: 1.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.06037, allocations: 4.334 MB / 431.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006673/0.06103, allocations: 0.6055 MB / 432 MB, free: 12.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.06309, allocations: 1.744 MB / 433.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.06552, allocations: 3.549 MB / 437.3 MB, free: 7.453 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.06743, allocations: 2.216 MB / 439.5 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1973/0.2647, allocations: 7.948 MB / 447.5 MB, free: 65.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2648, allocations: 0 / 447.5 MB, free: 65.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2648, allocations: 0 / 447.5 MB, free: 65.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000442/0.2652, allocations: 0.5 kB / 447.5 MB, free: 65.92 MB / 410.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.01683/0.282, allocations: 8.655 MB / 456.1 MB, free: 62.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.2821, allocations: 8.469 kB / 456.1 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.2955, allocations: 4.979 MB / 461.1 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008778/0.3043, allocations: 3.808 MB / 464.9 MB, free: 61.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.3046, allocations: 393.6 kB / 465.3 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.3065, allocations: 0.5548 MB / 465.9 MB, free: 61.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.3307, allocations: 11.3 MB / 477.2 MB, free: 57.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003379/0.331, allocations: 70.14 kB / 477.2 MB, free: 57.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007961/0.3318, allocations: 247.7 kB / 477.5 MB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004471/0.3363, allocations: 3.421 MB / 480.9 MB, free: 56.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/0.3602, allocations: 6.819 MB / 487.7 MB, free: 55.75 MB / 410.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.06024/0.4204, allocations: 70.57 MB / 0.5452 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008024/0.4285, allocations: 3.424 MB / 0.5486 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.43, allocations: 0.9914 MB / 0.5495 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.4418, allocations: 7.869 MB / 0.5572 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.4418, allocations: 64.27 kB / 0.5573 GB, free: 2.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 5.791e-06/0.4418, allocations: 0 / 0.5573 GB, free: 2.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.04251/0.4843, allocations: 18.64 MB / 0.5755 GB, free: 120 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.4844, allocations: 191.9 kB / 0.5757 GB, free: 15.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/0.4906, allocations: 5.108 MB / 0.5806 GB, free: 10.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006214/0.4912, allocations: 73.7 kB / 0.5807 GB, free: 10.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/0.494, allocations: 5.363 MB / 0.5859 GB, free: 5.398 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/0.4954, allocations: 1.37 MB / 0.5873 GB, free: 4.047 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.4974, allocations: 2.035 MB / 0.5893 GB, free: 2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4975, allocations: 484.7 kB / 0.5897 GB, free: 1.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.4996, allocations: 1.147 MB / 0.5909 GB, free: 380 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/0.5055, allocations: 9.309 MB / 0.5999 GB, free: 3.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2065/0.712, allocations: 11.52 MB / 0.6112 GB, free: 126 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002267/0.7122, allocations: 54.22 kB / 0.6112 GB, free: 126 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01886/0.7311, allocations: 8.812 MB / 0.6199 GB, free: 124.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.7312, allocations: 89.97 kB / 0.6199 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/0.7314, allocations: 194.1 kB / 0.6201 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.734, allocations: 1.132 MB / 0.6212 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.7384, allocations: 2.207 MB / 0.6234 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.7439, allocations: 4.592 MB / 0.6279 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/0.749, allocations: 0.5935 MB / 0.6284 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/0.7503, allocations: 0.5531 MB / 0.629 GB, free: 122.1 MB / 474.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.003166/0.7534, allocations: 0.9164 MB / 0.6299 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.7547, allocations: 0.5915 MB / 0.6305 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/0.761, allocations: 2.91 MB / 0.6333 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/0.761, allocations: 36.12 kB / 0.6333 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/0.7611, allocations: 10.66 kB / 0.6333 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/0.7611, allocations: 15.58 kB / 0.6334 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/0.7852, allocations: 9.813 MB / 0.6429 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.7853, allocations: 13.09 kB / 0.643 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.7865, allocations: 0.5007 MB / 0.6434 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.7886, allocations: 0.701 MB / 0.6441 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/0.7888, allocations: 71.97 kB / 0.6442 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.7929, allocations: 3.466 MB / 0.6476 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.7929, allocations: 15.19 kB / 0.6476 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/0.7996, allocations: 4.505 MB / 0.652 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.8012, allocations: 0.4959 MB / 0.6525 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/0.8018, allocations: 62.34 kB / 0.6525 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.8031, allocations: 182.3 kB / 0.6527 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/0.8035, allocations: 232 kB / 0.6529 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/0.8037, allocations: 103 kB / 0.653 GB, free: 113.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003857/0.8076, allocations: 2.167 MB / 0.6552 GB, free: 112.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8076, allocations: 0 / 0.6552 GB, free: 112.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007298/0.8149, allocations: 1.755 MB / 0.6569 GB, free: 111.9 MB / 474.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.0008146/0.8157, allocations: 281.1 kB / 0.6571 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008813/0.8245, allocations: 4.946 MB / 0.662 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.8245, allocations: 0 / 0.662 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.8267, allocations: 1.411 MB / 0.6633 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.8299, allocations: 0.6246 MB / 0.664 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/0.8524, allocations: 12.99 MB / 0.6766 GB, free: 93.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/0.8553, allocations: 2.125 MB / 0.6787 GB, free: 91.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004444/0.8597, allocations: 2.486 MB / 0.6811 GB, free: 90.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/0.8606, allocations: 374.9 kB / 0.6815 GB, free: 89.93 MB / 474.7 MB Notification: Performance of SimCode: time 2.435e-06/0.8606, allocations: 0 / 0.6815 GB, free: 89.93 MB / 474.7 MB Notification: Performance of Templates: time 0.07056/0.9311, allocations: 51.05 MB / 0.7313 GB, free: 41.17 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.420024897903204]