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.002018/0.002018, allocations: 82.25 kB / 21.25 MB, free: 0.5469 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.002446/0.002446, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.498/1.498, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 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.2175/0.2175, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.002383/0.002383, allocations: 79.88 kB / 443.1 MB, free: 6.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3194, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01342/0.3328, allocations: 14.13 MB / 0.5111 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3448, allocations: 5.11 MB / 0.516 GB, free: 17.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.3485, allocations: 116.8 kB / 0.5162 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008437/0.3569, allocations: 4.063 MB / 0.5201 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.3645, allocations: 2.813 MB / 0.5229 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.3677, allocations: 1.268 MB / 0.5241 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3796, allocations: 7.735 MB / 0.5317 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008338/0.3879, allocations: 4.718 MB / 0.5363 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006143/0.3941, allocations: 2.714 MB / 0.5389 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007251/0.4013, allocations: 3.859 MB / 0.5427 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00343/0.4048, allocations: 0.5972 MB / 0.5433 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.4104, allocations: 1.652 MB / 0.5449 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004338/0.4147, allocations: 3.369 MB / 0.5482 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005976/0.4207, allocations: 2.792 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.4388, allocations: 12.41 MB / 0.563 GB, free: 2.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.4389, allocations: 0 / 0.563 GB, free: 2.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4389, allocations: 0 / 0.563 GB, free: 2.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004305/0.4393, allocations: 4 kB / 0.563 GB, free: 2.012 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.0198/0.4591, allocations: 7.985 MB / 0.5708 GB, free: 9.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4591, allocations: 12.03 kB / 0.5708 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.4777, allocations: 4.263 MB / 0.575 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.4891, allocations: 4.198 MB / 0.5791 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.4895, allocations: 394 kB / 0.5795 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/0.4916, allocations: 0.5503 MB / 0.58 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0421/0.5337, allocations: 18.98 MB / 0.5985 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/0.5339, allocations: 71.41 kB / 0.5986 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009745/0.5349, allocations: 247.8 kB / 0.5989 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00609/0.541, allocations: 3.428 MB / 0.6022 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0409/0.5819, allocations: 16.66 MB / 0.6185 GB, free: 8.016 MB / 0.5137 GB 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.1126/0.6945, allocations: 61.9 MB / 0.6789 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/0.7146, allocations: 5.349 MB / 0.6841 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005607/0.7202, allocations: 2.655 MB / 0.6867 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3106/1.031, allocations: 10.72 MB / 0.6972 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/1.031, allocations: 63.78 kB / 0.6973 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=284): time 1.111e-05/1.031, allocations: 0 / 0.6973 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=345): time 0.09795/1.129, allocations: 25.94 MB / 0.7226 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.129, allocations: 187 kB / 0.7228 GB, free: 134 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.139, allocations: 5.611 MB / 0.7282 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006817/1.14, allocations: 75.48 kB / 0.7283 GB, free: 132 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00314/1.143, allocations: 5.185 MB / 0.7334 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.144, allocations: 1.338 MB / 0.7347 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/1.147, allocations: 1.926 MB / 0.7366 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/1.147, allocations: 305.1 kB / 0.7369 GB, free: 126 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.151, allocations: 3.38 MB / 0.7402 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006152/1.157, allocations: 8.917 MB / 0.7489 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.168, allocations: 13.21 MB / 0.7618 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.168, allocations: 56 kB / 0.7618 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02026/1.189, allocations: 13.01 MB / 0.7745 GB, free: 91.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.189, allocations: 88 kB / 0.7746 GB, free: 91.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/1.189, allocations: 192.1 kB / 0.7748 GB, free: 91.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/1.193, allocations: 1.324 MB / 0.7761 GB, free: 90.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006837/1.2, allocations: 2.219 MB / 0.7782 GB, free: 87.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.21, allocations: 7.612 MB / 0.7857 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007549/1.218, allocations: 0.5535 MB / 0.7862 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.219, allocations: 0.5546 MB / 0.7868 GB, free: 78.99 MB / 0.5762 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.004859/1.224, allocations: 3.443 MB / 0.7901 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.225, allocations: 0.5122 MB / 0.7906 GB, free: 75.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00965/1.234, allocations: 5.337 MB / 0.7958 GB, free: 69.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/1.234, allocations: 36 kB / 0.7959 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.234, allocations: 8.562 kB / 0.7959 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/1.234, allocations: 11.95 kB / 0.7959 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03318/1.268, allocations: 11.6 MB / 0.8072 GB, free: 57.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/1.268, allocations: 12 kB / 0.8072 GB, free: 57.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003339/1.271, allocations: 0.4962 MB / 0.8077 GB, free: 57.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/1.276, allocations: 0.8123 MB / 0.8085 GB, free: 56.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005076/1.277, allocations: 73.02 kB / 0.8086 GB, free: 56.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.289, allocations: 5.588 MB / 0.814 GB, free: 50.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.289, allocations: 15.94 kB / 0.814 GB, free: 50.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/1.308, allocations: 8.264 MB / 0.8221 GB, free: 42.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.31, allocations: 468.5 kB / 0.8226 GB, free: 41.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/1.31, allocations: 67.34 kB / 0.8226 GB, free: 41.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.312, allocations: 151.8 kB / 0.8228 GB, free: 41.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/1.313, allocations: 229.4 kB / 0.823 GB, free: 41.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.313, allocations: 103.7 kB / 0.8231 GB, free: 41.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003806/1.317, allocations: 3.222 MB / 0.8262 GB, free: 37.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.317, allocations: 0 / 0.8262 GB, free: 37.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006868/1.324, allocations: 1.614 MB / 0.8278 GB, free: 36.36 MB / 0.5762 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.0006053/1.324, allocations: 262.6 kB / 0.8281 GB, free: 36.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.335, allocations: 7.613 MB / 0.8355 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.335, allocations: 0 / 0.8355 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/1.338, allocations: 2.216 MB / 0.8377 GB, free: 26.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/1.342, allocations: 0.5881 MB / 0.8382 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/1.365, allocations: 15.54 MB / 0.8534 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.37, allocations: 4.676 MB / 0.858 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005754/1.376, allocations: 2.908 MB / 0.8608 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.377, allocations: 356.5 kB / 0.8612 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.377, allocations: 0 / 0.8612 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.1048/1.482, allocations: 48.96 MB / 0.909 GB, free: 1.746 MB / 0.6231 GB " [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=480 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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.339744359953329]