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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.2 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 190.2 kB / 19.38 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002469/0.00247, allocations: 59.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5205, allocations: 60.82 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01825/0.5388, allocations: 16.29 MB / 0.5355 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.5533, allocations: 5.335 MB / 0.5407 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004614/0.558, allocations: 97.78 kB / 0.5408 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009205/0.5672, allocations: 4.168 MB / 0.5448 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.5765, allocations: 2.756 MB / 0.5475 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.5805, allocations: 1.262 MB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.5938, allocations: 7.609 MB / 0.5562 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00954/0.6033, allocations: 5.842 MB / 0.5619 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006129/0.6095, allocations: 2.687 MB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006815/0.6164, allocations: 3.774 MB / 0.5682 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.619, allocations: 0.5938 MB / 0.5688 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005431/0.6244, allocations: 1.764 MB / 0.5705 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005048/0.6295, allocations: 3.339 MB / 0.5738 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007833/0.6374, allocations: 3.806 MB / 0.5775 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.6545, allocations: 12.38 MB / 0.5896 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6546, allocations: 0 / 0.5896 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.6546, allocations: 3.984 kB / 0.5896 GB, free: 4.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004872/0.6551, allocations: 0 / 0.5896 GB, free: 4.094 MB / 446.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.02288/0.678, allocations: 7.878 MB / 0.5973 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.6781, allocations: 12.03 kB / 0.5973 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.6966, allocations: 3.934 MB / 0.6011 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.709, allocations: 4.315 MB / 0.6053 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004764/0.7095, allocations: 406 kB / 0.6057 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002884/0.7124, allocations: 0.5502 MB / 0.6063 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0428/0.7553, allocations: 18.87 MB / 0.6247 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004127/0.7557, allocations: 71.38 kB / 0.6247 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002459/0.7582, allocations: 247.7 kB / 0.625 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005639/0.7639, allocations: 3.436 MB / 0.6283 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/0.8017, allocations: 16.63 MB / 0.6446 GB, free: 10.53 MB / 0.4981 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.1048/0.9065, allocations: 66.6 MB / 0.7096 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5565/1.463, allocations: 6.269 MB / 0.7157 GB, free: 164.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005744/1.469, allocations: 2.831 MB / 0.7185 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/1.492, allocations: 13.85 MB / 0.732 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.492, allocations: 62.12 kB / 0.7321 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.182e-06/1.492, allocations: 3.844 kB / 0.7321 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07825/1.57, allocations: 25.03 MB / 0.7565 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/1.57, allocations: 188.3 kB / 0.7567 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006515/1.577, allocations: 5.876 MB / 0.7624 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005293/1.577, allocations: 77.7 kB / 0.7625 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.579, allocations: 4.957 MB / 0.7674 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.58, allocations: 1.285 MB / 0.7686 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/1.582, allocations: 1.912 MB / 0.7705 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.582, allocations: 301.1 kB / 0.7708 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/1.587, allocations: 3.353 MB / 0.774 GB, free: 128.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006764/1.593, allocations: 8.876 MB / 0.7827 GB, free: 116.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.605, allocations: 13.18 MB / 0.7956 GB, free: 101 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.605, allocations: 56 kB / 0.7956 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02261/1.628, allocations: 13 MB / 0.8083 GB, free: 87.89 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.628, allocations: 84 kB / 0.8084 GB, free: 87.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/1.628, allocations: 196 kB / 0.8086 GB, free: 87.61 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003927/1.632, allocations: 1.322 MB / 0.8099 GB, free: 86.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/1.639, allocations: 2.207 MB / 0.812 GB, free: 84.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.649, allocations: 7.834 MB / 0.8197 GB, free: 76.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/1.655, allocations: 0.5033 MB / 0.8202 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/1.656, allocations: 0.5547 MB / 0.8207 GB, free: 75.06 MB / 0.5607 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.004689/1.661, allocations: 3.461 MB / 0.8241 GB, free: 71.59 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008929/1.662, allocations: 0.5206 MB / 0.8246 GB, free: 71.06 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009387/1.671, allocations: 5.405 MB / 0.8299 GB, free: 65.6 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/1.671, allocations: 36 kB / 0.8299 GB, free: 65.56 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/1.671, allocations: 12 kB / 0.8299 GB, free: 65.55 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.671, allocations: 15.94 kB / 0.83 GB, free: 65.54 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.696, allocations: 13.9 MB / 0.8435 GB, free: 51.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.697, allocations: 12 kB / 0.8436 GB, free: 51.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.699, allocations: 0.4954 MB / 0.844 GB, free: 50.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/1.702, allocations: 0.8129 MB / 0.8448 GB, free: 50.09 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/1.702, allocations: 79.27 kB / 0.8449 GB, free: 50.01 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008143/1.71, allocations: 5.803 MB / 0.8506 GB, free: 44.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.711, allocations: 27.94 kB / 0.8506 GB, free: 44.05 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.723, allocations: 8.288 MB / 0.8587 GB, free: 35.47 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.724, allocations: 0.5645 MB / 0.8592 GB, free: 34.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008668/1.725, allocations: 63.67 kB / 0.8593 GB, free: 34.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.728, allocations: 135.9 kB / 0.8594 GB, free: 34.69 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/1.728, allocations: 217.8 kB / 0.8596 GB, free: 34.47 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.728, allocations: 104 kB / 0.8597 GB, free: 34.37 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004758/1.733, allocations: 3.658 MB / 0.8633 GB, free: 30.74 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.8e-07/1.733, allocations: 0 / 0.8633 GB, free: 30.74 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007611/1.741, allocations: 1.644 MB / 0.8649 GB, free: 29.11 MB / 0.5607 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.0007843/1.741, allocations: 276 kB / 0.8652 GB, free: 28.85 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.753, allocations: 7.928 MB / 0.8729 GB, free: 20.94 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.753, allocations: 4 kB / 0.8729 GB, free: 20.94 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/1.756, allocations: 2.372 MB / 0.8752 GB, free: 18.55 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/1.76, allocations: 0.6978 MB / 0.8759 GB, free: 17.86 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/1.785, allocations: 15.96 MB / 0.8915 GB, free: 1.723 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007806/1.793, allocations: 5.142 MB / 0.8965 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.795, allocations: 455.3 kB / 0.897 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of SimCode: time 8.61e-07/1.795, allocations: 0 / 0.897 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.4305/2.226, allocations: 128.1 MB / 1.022 GB, free: 149.5 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches