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.001126/0.001126, allocations: 110.3 kB / 17.98 MB, free: 5.379 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.001031/0.001031, allocations: 189.4 kB / 18.9 MB, free: 4.461 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.357/1.357, allocations: 222.9 MB / 242.6 MB, free: 13.73 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.2119/0.2119, allocations: 44.18 MB / 336.9 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.02 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2905/0.3974, allocations: 58.17 MB / 0.5152 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03022/0.4277, allocations: 12.22 MB / 0.5271 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.4422, allocations: 250.7 kB / 0.5274 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008232/0.4504, allocations: 4.014 MB / 0.5313 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008776/0.4593, allocations: 2.572 MB / 0.5338 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.4629, allocations: 1.194 MB / 0.5349 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4743, allocations: 7.788 MB / 0.5426 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009965/0.4843, allocations: 6.164 MB / 0.5486 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006631/0.491, allocations: 2.72 MB / 0.5512 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006759/0.4978, allocations: 4.154 MB / 0.5553 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002772/0.5006, allocations: 0.5938 MB / 0.5559 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/0.5067, allocations: 1.783 MB / 0.5576 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005477/0.5122, allocations: 3.35 MB / 0.5609 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008339/0.5206, allocations: 3.841 MB / 0.5646 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.5335, allocations: 9.856 MB / 0.5743 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5335, allocations: 0 / 0.5743 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5335, allocations: 0 / 0.5743 GB, free: 3.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005279/0.5341, allocations: 0 / 0.5743 GB, free: 3.945 MB / 414.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.02369/0.5578, allocations: 7.891 MB / 0.582 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.5579, allocations: 12.03 kB / 0.582 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.5747, allocations: 3.935 MB / 0.5858 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.5848, allocations: 4.263 MB / 0.59 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.5852, allocations: 397.4 kB / 0.5904 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.5878, allocations: 0.5494 MB / 0.5909 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03969/0.6275, allocations: 18.88 MB / 0.6093 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002682/0.6278, allocations: 67.41 kB / 0.6094 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.6294, allocations: 248.9 kB / 0.6096 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005229/0.6346, allocations: 3.426 MB / 0.613 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03541/0.67, allocations: 16.63 MB / 0.6292 GB, free: 11.05 MB / 478.1 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.09918/0.7693, allocations: 66.92 MB / 0.6946 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/0.7861, allocations: 6.261 MB / 0.7007 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2422/1.028, allocations: 2.821 MB / 0.7034 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02378/1.052, allocations: 13.86 MB / 0.717 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/1.052, allocations: 66.09 kB / 0.717 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.041e-06/1.052, allocations: 3.781 kB / 0.717 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08051/1.133, allocations: 25.03 MB / 0.7415 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/1.133, allocations: 184.3 kB / 0.7416 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/1.14, allocations: 5.876 MB / 0.7474 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005996/1.141, allocations: 76.59 kB / 0.7475 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/1.143, allocations: 4.962 MB / 0.7523 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.144, allocations: 1.277 MB / 0.7535 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.146, allocations: 1.908 MB / 0.7554 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/1.146, allocations: 309 kB / 0.7557 GB, free: 155 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004065/1.15, allocations: 3.357 MB / 0.759 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/1.157, allocations: 8.87 MB / 0.7676 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.168, allocations: 13.18 MB / 0.7805 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/1.169, allocations: 56 kB / 0.7806 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02161/1.19, allocations: 13.01 MB / 0.7933 GB, free: 111 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.19, allocations: 88 kB / 0.7934 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/1.19, allocations: 192 kB / 0.7935 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/1.194, allocations: 1.319 MB / 0.7948 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.201, allocations: 2.211 MB / 0.797 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009891/1.211, allocations: 7.835 MB / 0.8046 GB, free: 99.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/1.218, allocations: 0.5033 MB / 0.8051 GB, free: 98.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.219, allocations: 0.5547 MB / 0.8057 GB, free: 98.21 MB / 0.5294 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.005186/1.224, allocations: 3.449 MB / 0.809 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.225, allocations: 0.5283 MB / 0.8096 GB, free: 94.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.236, allocations: 5.408 MB / 0.8148 GB, free: 88.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-05/1.236, allocations: 39.52 kB / 0.8149 GB, free: 88.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.236, allocations: 11.94 kB / 0.8149 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.236, allocations: 15.94 kB / 0.8149 GB, free: 88.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.26, allocations: 14 MB / 0.8286 GB, free: 74.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.26, allocations: 12 kB / 0.8286 GB, free: 74.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.262, allocations: 0.4922 MB / 0.8291 GB, free: 73.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/1.265, allocations: 0.8216 MB / 0.8299 GB, free: 73.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/1.266, allocations: 64 kB / 0.8299 GB, free: 73.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00777/1.273, allocations: 5.816 MB / 0.8356 GB, free: 67.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.274, allocations: 27.86 kB / 0.8356 GB, free: 67.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.285, allocations: 8.281 MB / 0.8437 GB, free: 58.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.287, allocations: 0.5605 MB / 0.8443 GB, free: 57.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007786/1.288, allocations: 71.88 kB / 0.8443 GB, free: 57.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.29, allocations: 135.8 kB / 0.8445 GB, free: 57.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/1.29, allocations: 213.5 kB / 0.8447 GB, free: 57.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.29, allocations: 104 kB / 0.8448 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0046/1.295, allocations: 3.658 MB / 0.8483 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.295, allocations: 0 / 0.8483 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007102/1.302, allocations: 1.648 MB / 0.85 GB, free: 52.17 MB / 0.5294 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.0006567/1.303, allocations: 274.1 kB / 0.8502 GB, free: 51.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01686/1.319, allocations: 11.31 MB / 0.8613 GB, free: 40.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.319, allocations: 384 / 0.8613 GB, free: 40.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/1.323, allocations: 2.38 MB / 0.8636 GB, free: 38.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.327, allocations: 0.6972 MB / 0.8643 GB, free: 37.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.352, allocations: 19.57 MB / 0.8834 GB, free: 17.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006716/1.359, allocations: 5.149 MB / 0.8884 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.361, allocations: 451.4 kB / 0.8888 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/1.361, allocations: 0 / 0.8888 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.3824/1.743, allocations: 126 MB / 1.012 GB, free: 72.37 MB / 0.5294 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