Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009768/0.0009768, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.00111/0.00111, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8802/0.8802, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1289/0.1289, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.016e-05, allocations: 2.281 kB / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01175/0.01178, allocations: 14.28 MB / 422.4 MB, free: 3.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.02259, allocations: 5.073 MB / 427.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.0258, allocations: 115.4 kB / 427.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005919/0.03172, allocations: 4.278 MB / 431.8 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.03814, allocations: 2.939 MB / 434.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.04059, allocations: 1.403 MB / 436.2 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00984/0.05043, allocations: 8.427 MB / 444.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007917/0.05834, allocations: 5.501 MB / 450.1 MB, free: 7.523 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.07031, allocations: 4.175 MB / 454.3 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005902/0.07621, allocations: 4.248 MB / 458.5 MB, free: 15.08 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.07811, allocations: 0.6094 MB / 459.1 MB, free: 14.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.08167, allocations: 1.748 MB / 460.9 MB, free: 12.72 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003609/0.08528, allocations: 3.576 MB / 464.5 MB, free: 9.137 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.08964, allocations: 2.247 MB / 466.7 MB, free: 6.883 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2108/0.3005, allocations: 12.61 MB / 479.3 MB, free: 64.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3005, allocations: 1.969 kB / 479.3 MB, free: 64.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3005, allocations: 0 / 479.3 MB, free: 64.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005031/0.301, allocations: 0 / 479.3 MB, free: 64.17 MB / 442.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.01882/0.3198, allocations: 8.124 MB / 487.4 MB, free: 61.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3199, allocations: 8.75 kB / 487.5 MB, free: 61.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.3299, allocations: 4.081 MB / 491.5 MB, free: 60.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007626/0.3375, allocations: 4.324 MB / 495.9 MB, free: 59.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.3377, allocations: 398.5 kB / 496.2 MB, free: 59.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.3401, allocations: 0.5588 MB / 496.8 MB, free: 59.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03278/0.3729, allocations: 18.95 MB / 0.5037 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.3732, allocations: 76.08 kB / 0.5037 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/0.3747, allocations: 248.6 kB / 0.504 GB, free: 52.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003466/0.3782, allocations: 3.432 MB / 0.5073 GB, free: 52.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.4034, allocations: 16.62 MB / 0.5236 GB, free: 47.4 MB / 442.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.06509/0.4685, allocations: 62.49 MB / 0.5846 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4788, allocations: 5.331 MB / 0.5898 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.4822, allocations: 2.631 MB / 0.5924 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/0.4985, allocations: 10.91 MB / 0.603 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.4985, allocations: 64.22 kB / 0.6031 GB, free: 13.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 6.111e-06/0.4985, allocations: 0 / 0.6031 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=345): time 0.05549/0.554, allocations: 26.33 MB / 0.6288 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5541, allocations: 191.6 kB / 0.629 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007494/0.5616, allocations: 5.996 MB / 0.6348 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007194/0.5623, allocations: 75.27 kB / 0.6349 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00301/0.5653, allocations: 5.138 MB / 0.6399 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.567, allocations: 1.323 MB / 0.6412 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002424/0.5694, allocations: 1.901 MB / 0.6431 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.5695, allocations: 305.1 kB / 0.6434 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/0.5746, allocations: 3.353 MB / 0.6466 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009319/0.584, allocations: 8.907 MB / 0.6553 GB, free: 6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2067/0.7907, allocations: 13.18 MB / 0.6682 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/0.7909, allocations: 52.59 kB / 0.6683 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0187/0.8096, allocations: 12.95 MB / 0.6809 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.462e-05/0.8097, allocations: 90.53 kB / 0.681 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/0.8098, allocations: 192.9 kB / 0.6812 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.8123, allocations: 1.331 MB / 0.6825 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/0.8171, allocations: 2.198 MB / 0.6846 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.825, allocations: 7.604 MB / 0.692 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/0.8307, allocations: 0.6091 MB / 0.6926 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/0.8324, allocations: 0.5545 MB / 0.6932 GB, free: 156.5 MB / 0.5261 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.006503/0.8389, allocations: 3.453 MB / 0.6966 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.84, allocations: 0.5041 MB / 0.697 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/0.8476, allocations: 5.343 MB / 0.7023 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/0.8476, allocations: 35.88 kB / 0.7023 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.8476, allocations: 14.5 kB / 0.7023 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.8477, allocations: 17.31 kB / 0.7023 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.8652, allocations: 11.72 MB / 0.7138 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.8652, allocations: 12 kB / 0.7138 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8664, allocations: 0.4885 MB / 0.7143 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.8681, allocations: 0.8087 MB / 0.7151 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.8683, allocations: 74.47 kB / 0.7151 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.8734, allocations: 5.595 MB / 0.7206 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8734, allocations: 15.94 kB / 0.7206 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/0.8816, allocations: 8.236 MB / 0.7286 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/0.8835, allocations: 0.88 MB / 0.7295 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/0.8841, allocations: 63.98 kB / 0.7296 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8854, allocations: 199.7 kB / 0.7298 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.8857, allocations: 227.9 kB / 0.73 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.8858, allocations: 103.9 kB / 0.7301 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003527/0.8893, allocations: 3.515 MB / 0.7335 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8893, allocations: 0 / 0.7335 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006149/0.8955, allocations: 1.787 MB / 0.7353 GB, free: 127.9 MB / 0.5261 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.0006643/0.8961, allocations: 299.8 kB / 0.7355 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008567/0.9047, allocations: 7.582 MB / 0.7429 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.9047, allocations: 1.812 kB / 0.7429 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.907, allocations: 2.204 MB / 0.7451 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.9098, allocations: 0.5865 MB / 0.7457 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.9293, allocations: 16.25 MB / 0.7615 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/0.9345, allocations: 4.674 MB / 0.7661 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/0.936, allocations: 448.4 kB / 0.7665 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.684e-06/0.936, allocations: 0 / 0.7665 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.3021/1.238, allocations: 128.9 MB / 0.8924 GB, free: 157.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.98513746727258]