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.001134/0.001134, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001331/0.001331, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.469 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.2807/0.2807, allocations: 34.87 MB / 296.6 MB, free: 424 kB / 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.663e-06/1.663e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.47e-05, allocations: 4.703 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02804/0.02806, allocations: 15.25 MB / 394.5 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00924/0.0373, allocations: 5.213 MB / 399.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.03877, allocations: 119.4 kB / 399.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.04289, allocations: 4.396 MB / 404.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003934/0.04683, allocations: 2.912 MB / 407.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.04856, allocations: 1.423 MB / 408.5 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00596/0.05452, allocations: 8.793 MB / 417.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.05856, allocations: 5.663 MB / 423 MB, free: 5.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.06243, allocations: 4.682 MB / 427.7 MB, free: 1.148 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.0659, allocations: 4.264 MB / 431.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006934/0.0666, allocations: 0.5977 MB / 432.5 MB, free: 12.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.06851, allocations: 1.732 MB / 434.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.07167, allocations: 3.534 MB / 437.8 MB, free: 7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004883/0.07655, allocations: 2.212 MB / 440 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.188/0.2645, allocations: 7.906 MB / 447.9 MB, free: 66.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2646, allocations: 0 / 447.9 MB, free: 66.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2646, allocations: 0 / 447.9 MB, free: 66.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004317/0.265, allocations: 0 / 447.9 MB, free: 66.54 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.01346/0.2784, allocations: 8.267 MB / 456.2 MB, free: 63.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2785, allocations: 11.56 kB / 456.2 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007792/0.2863, allocations: 3.07 MB / 459.3 MB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/0.293, allocations: 3.292 MB / 462.5 MB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.2933, allocations: 394.6 kB / 462.9 MB, free: 62.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.295, allocations: 0.5555 MB / 463.5 MB, free: 62.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.3129, allocations: 9.782 MB / 473.3 MB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.3131, allocations: 70.34 kB / 473.3 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006898/0.3138, allocations: 245.7 kB / 473.6 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002804/0.3166, allocations: 3.084 MB / 476.7 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.3328, allocations: 5.081 MB / 481.7 MB, free: 57.61 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.06926/0.4021, allocations: 69.2 MB / 0.538 GB, free: 19.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.4099, allocations: 3.08 MB / 0.541 GB, free: 18.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.4116, allocations: 0.8436 MB / 0.5419 GB, free: 18.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.4245, allocations: 7.423 MB / 0.5491 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/0.4246, allocations: 62.86 kB / 0.5492 GB, free: 12.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 1.178e-05/0.4246, allocations: 0 / 0.5492 GB, free: 12.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.0311/0.4557, allocations: 12.27 MB / 0.5612 GB, free: 1.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.4558, allocations: 188.4 kB / 0.5613 GB, free: 1.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/0.4616, allocations: 5.058 MB / 0.5663 GB, free: 13.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005476/0.4621, allocations: 73.7 kB / 0.5664 GB, free: 13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004243/0.4664, allocations: 5.402 MB / 0.5716 GB, free: 7.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/0.4682, allocations: 1.399 MB / 0.573 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00267/0.4708, allocations: 2.082 MB / 0.575 GB, free: 4.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.471, allocations: 484.5 kB / 0.5755 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.4729, allocations: 1.049 MB / 0.5765 GB, free: 3.117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/0.4792, allocations: 9.27 MB / 0.5856 GB, free: 6.484 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.4894, allocations: 11.24 MB / 0.5965 GB, free: 7.977 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000236/0.4896, allocations: 64 kB / 0.5966 GB, free: 7.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.2052/0.6949, allocations: 8.096 MB / 0.6045 GB, free: 129.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.695, allocations: 87.69 kB / 0.6046 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/0.6953, allocations: 198.2 kB / 0.6048 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/0.6981, allocations: 0.9806 MB / 0.6057 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/0.7027, allocations: 2.11 MB / 0.6078 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/0.7075, allocations: 4.309 MB / 0.612 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/0.7124, allocations: 403.8 kB / 0.6124 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/0.7134, allocations: 490.6 kB / 0.6129 GB, free: 127.3 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 (1184): * Single equations (assignments): 1177 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002528/0.716, allocations: 0.9288 MB / 0.6138 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009398/0.7169, allocations: 0.5996 MB / 0.6144 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.721, allocations: 2.641 MB / 0.6169 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/0.721, allocations: 36.28 kB / 0.617 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.721, allocations: 5.844 kB / 0.617 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.721, allocations: 19.66 kB / 0.617 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.7374, allocations: 9.72 MB / 0.6265 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.381e-05/0.7374, allocations: 18.47 kB / 0.6265 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7386, allocations: 471 kB / 0.6269 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.7403, allocations: 0.6222 MB / 0.6276 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.7406, allocations: 76.38 kB / 0.6276 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.7438, allocations: 3.112 MB / 0.6307 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.7438, allocations: 20.78 kB / 0.6307 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/0.7497, allocations: 4.226 MB / 0.6348 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.7509, allocations: 0.4898 MB / 0.6353 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/0.7513, allocations: 73.27 kB / 0.6354 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7524, allocations: 73.5 kB / 0.6354 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.7527, allocations: 255.2 kB / 0.6357 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.7529, allocations: 92.41 kB / 0.6358 GB, free: 120.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002631/0.7555, allocations: 1.999 MB / 0.6377 GB, free: 120.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7555, allocations: 0 / 0.6377 GB, free: 120.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006683/0.7622, allocations: 1.754 MB / 0.6394 GB, free: 120.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (279): * Single equations (assignments): 272 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007909/0.763, allocations: 297 kB / 0.6397 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006421/0.7694, allocations: 4.639 MB / 0.6442 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.7694, allocations: 2.844 kB / 0.6442 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.771, allocations: 1.294 MB / 0.6455 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.7744, allocations: 0.6435 MB / 0.6461 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.794, allocations: 13.02 MB / 0.6589 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/0.7982, allocations: 2.132 MB / 0.6609 GB, free: 110.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003054/0.8013, allocations: 0.7746 MB / 0.6617 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.8028, allocations: 0.8965 MB / 0.6626 GB, free: 109 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/0.8028, allocations: 0 / 0.6626 GB, free: 109 MB / 474.7 MB Notification: Performance of Templates: time 0.07929/0.8821, allocations: 56.79 MB / 0.718 GB, free: 56.38 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.235627352260053]