Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.2 kB / 24.82 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 32.81 MB / 294.6 MB, free: 1.141 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.76e-05, allocations: 9.125 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01762/0.01765, allocations: 15.25 MB / 391.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.02924, allocations: 5.209 MB / 396.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.03212, allocations: 111.5 kB / 397 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.03706, allocations: 4.407 MB / 401.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.04281, allocations: 2.912 MB / 404.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.04502, allocations: 1.419 MB / 405.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008215/0.05324, allocations: 8.79 MB / 414.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/0.05959, allocations: 5.667 MB / 420.2 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/0.06596, allocations: 4.678 MB / 424.9 MB, free: 3.703 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.07075, allocations: 4.26 MB / 429.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.07177, allocations: 0.6016 MB / 429.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.07405, allocations: 1.732 MB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.07665, allocations: 3.541 MB / 435.1 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.07887, allocations: 2.204 MB / 437.3 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.16/0.2388, allocations: 7.914 MB / 445.2 MB, free: 69.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2389, allocations: 1.438 kB / 445.2 MB, free: 69.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2389, allocations: 0 / 445.2 MB, free: 69.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003602/0.2392, allocations: 0 / 445.2 MB, free: 69.14 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.01348/0.2527, allocations: 8.254 MB / 453.4 MB, free: 66.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2527, allocations: 7.969 kB / 453.4 MB, free: 66.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009664/0.2624, allocations: 3.078 MB / 456.5 MB, free: 65.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.2677, allocations: 3.298 MB / 459.8 MB, free: 64.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.2679, allocations: 390.7 kB / 460.2 MB, free: 64.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009709/0.2689, allocations: 0.5546 MB / 460.7 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.2834, allocations: 9.784 MB / 470.5 MB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002134/0.2836, allocations: 65.94 kB / 470.6 MB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005755/0.2842, allocations: 249.1 kB / 470.8 MB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/0.2867, allocations: 3.08 MB / 473.9 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.2996, allocations: 5.086 MB / 479 MB, free: 60.34 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.05177/0.3514, allocations: 69.21 MB / 0.5354 GB, free: 22.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.3582, allocations: 3.076 MB / 0.5384 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.3594, allocations: 0.8413 MB / 0.5392 GB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.3694, allocations: 7.421 MB / 0.5464 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3695, allocations: 70.86 kB / 0.5465 GB, free: 15.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.352e-06/0.3695, allocations: 1.641 kB / 0.5465 GB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.0292/0.3987, allocations: 12.27 MB / 0.5585 GB, free: 4.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.3988, allocations: 184.4 kB / 0.5587 GB, free: 4.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/0.4035, allocations: 5.062 MB / 0.5636 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.4038, allocations: 73.7 kB / 0.5637 GB, free: 468 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00274/0.4065, allocations: 5.411 MB / 0.569 GB, free: 11.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.4076, allocations: 1.403 MB / 0.5703 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.4095, allocations: 2.08 MB / 0.5724 GB, free: 8.152 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.4096, allocations: 487.7 kB / 0.5728 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.4114, allocations: 1.049 MB / 0.5739 GB, free: 6.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/0.4171, allocations: 9.264 MB / 0.5829 GB, free: 9.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00864/0.4258, allocations: 11.23 MB / 0.5939 GB, free: 11.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.4259, allocations: 59.98 kB / 0.5939 GB, free: 11.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01249/0.4384, allocations: 8.113 MB / 0.6018 GB, free: 3.121 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/0.4385, allocations: 88 kB / 0.6019 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/0.4386, allocations: 192 kB / 0.6021 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.441, allocations: 0.9865 MB / 0.6031 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1619/0.6029, allocations: 2.104 MB / 0.6051 GB, free: 131.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.6083, allocations: 4.322 MB / 0.6094 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/0.6135, allocations: 407.2 kB / 0.6097 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009936/0.6145, allocations: 490.8 kB / 0.6102 GB, free: 130 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.002549/0.617, allocations: 0.9246 MB / 0.6111 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000833/0.6178, allocations: 0.5984 MB / 0.6117 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.6218, allocations: 2.642 MB / 0.6143 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.6218, allocations: 37.06 kB / 0.6143 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.6218, allocations: 7.25 kB / 0.6143 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6218, allocations: 20.48 kB / 0.6143 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.6361, allocations: 9.711 MB / 0.6238 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.6361, allocations: 12.72 kB / 0.6238 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.6373, allocations: 478.4 kB / 0.6243 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.6391, allocations: 0.6225 MB / 0.6249 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.6393, allocations: 72.89 kB / 0.625 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.6426, allocations: 3.122 MB / 0.628 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.6427, allocations: 22.47 kB / 0.628 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.6482, allocations: 4.228 MB / 0.6322 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.6494, allocations: 498.2 kB / 0.6326 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.6499, allocations: 75.12 kB / 0.6327 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6511, allocations: 70.42 kB / 0.6328 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.6514, allocations: 251.1 kB / 0.633 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.6515, allocations: 86.88 kB / 0.6331 GB, free: 123.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002743/0.6543, allocations: 2.006 MB / 0.6351 GB, free: 123.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6543, allocations: 0 / 0.6351 GB, free: 123.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006494/0.6607, allocations: 1.754 MB / 0.6368 GB, free: 122.9 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.0006496/0.6614, allocations: 296.5 kB / 0.6371 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.6684, allocations: 4.636 MB / 0.6416 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/0.6684, allocations: 8.469 kB / 0.6416 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.6701, allocations: 1.293 MB / 0.6429 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.6733, allocations: 0.6359 MB / 0.6435 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.6917, allocations: 13.02 MB / 0.6562 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/0.6944, allocations: 2.132 MB / 0.6583 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002765/0.6972, allocations: 0.78 MB / 0.659 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.6986, allocations: 0.893 MB / 0.6599 GB, free: 113.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.264e-06/0.6986, allocations: 0 / 0.6599 GB, free: 113.3 MB / 474.7 MB Notification: Performance of Templates: time 0.08817/0.7868, allocations: 56.8 MB / 0.7154 GB, free: 62.73 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.108079960104078]