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.001237/0.001236, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00133/0.00133, allocations: 191 kB / 19.34 MB, free: 3.641 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.409/1.409, allocations: 222.9 MB / 243 MB, free: 15.1 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.2176/0.2176, allocations: 44.19 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 68.7 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 60.82 MB / 470.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02435/0.1591, allocations: 16.29 MB / 487 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.175, allocations: 5.353 MB / 492.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.1792, allocations: 95.75 kB / 492.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.1903, allocations: 4.17 MB / 496.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.2006, allocations: 2.754 MB / 499.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.2057, allocations: 1.267 MB / 0.4889 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01814/0.2238, allocations: 7.589 MB / 0.4963 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.2379, allocations: 5.848 MB / 0.502 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.318/0.556, allocations: 2.674 MB / 0.5046 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008758/0.5648, allocations: 3.776 MB / 0.5083 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004064/0.5689, allocations: 0.5932 MB / 0.5089 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007969/0.5769, allocations: 1.767 MB / 0.5106 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009084/0.5861, allocations: 3.304 MB / 0.5138 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.5976, allocations: 3.806 MB / 0.5176 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.6169, allocations: 12.38 MB / 0.5296 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6169, allocations: 2.031 kB / 0.5296 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.617, allocations: 0 / 0.5296 GB, free: 12.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000491/0.6175, allocations: 0 / 0.5296 GB, free: 12.63 MB / 382.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.02303/0.6405, allocations: 7.876 MB / 0.5373 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6406, allocations: 14.56 kB / 0.5374 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.6569, allocations: 3.941 MB / 0.5412 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.6694, allocations: 4.317 MB / 0.5454 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.6698, allocations: 402.8 kB / 0.5458 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.6729, allocations: 0.5492 MB / 0.5463 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/0.713, allocations: 18.87 MB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/0.7133, allocations: 72.62 kB / 0.5648 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.7144, allocations: 249.5 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00509/0.7195, allocations: 3.436 MB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03856/0.7581, allocations: 16.63 MB / 0.5847 GB, free: 11.51 MB / 430.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.1031/0.8612, allocations: 66.6 MB / 0.6497 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/0.8778, allocations: 6.268 MB / 0.6558 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00434/0.8822, allocations: 2.826 MB / 0.6586 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02449/0.9067, allocations: 13.85 MB / 0.6721 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.9068, allocations: 68.06 kB / 0.6722 GB, free: 48 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 6.042e-06/0.9068, allocations: 0 / 0.6722 GB, free: 48 kB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.08542/0.9922, allocations: 25.02 MB / 0.6966 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.9924, allocations: 187.4 kB / 0.6968 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009784/1.002, allocations: 5.884 MB / 0.7025 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007167/1.003, allocations: 73.7 kB / 0.7026 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2646/1.268, allocations: 4.949 MB / 0.7074 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002484/1.27, allocations: 1.285 MB / 0.7087 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00412/1.274, allocations: 1.908 MB / 0.7105 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/1.274, allocations: 302.8 kB / 0.7108 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006424/1.281, allocations: 3.356 MB / 0.7141 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009094/1.29, allocations: 8.875 MB / 0.7228 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/1.306, allocations: 13.19 MB / 0.7357 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002855/1.307, allocations: 54.62 kB / 0.7357 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02569/1.332, allocations: 12.99 MB / 0.7484 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.332, allocations: 90.5 kB / 0.7485 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002673/1.333, allocations: 201.4 kB / 0.7487 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/1.337, allocations: 1.318 MB / 0.75 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.343, allocations: 2.204 MB / 0.7521 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.354, allocations: 7.833 MB / 0.7598 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006968/1.361, allocations: 0.5054 MB / 0.7603 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.362, allocations: 0.5506 MB / 0.7608 GB, free: 145 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.004921/1.367, allocations: 3.451 MB / 0.7642 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/1.368, allocations: 0.5359 MB / 0.7647 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009451/1.377, allocations: 5.396 MB / 0.77 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/1.377, allocations: 41.09 kB / 0.77 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.377, allocations: 4 kB / 0.77 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/1.377, allocations: 24.77 kB / 0.77 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.402, allocations: 13.91 MB / 0.7836 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.402, allocations: 8 kB / 0.7836 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.404, allocations: 0.4992 MB / 0.7841 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.407, allocations: 0.8095 MB / 0.7849 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/1.407, allocations: 73.02 kB / 0.785 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/1.415, allocations: 5.814 MB / 0.7906 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.415, allocations: 15.94 kB / 0.7907 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.427, allocations: 8.285 MB / 0.7988 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.429, allocations: 0.5605 MB / 0.7993 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009043/1.43, allocations: 75.98 kB / 0.7994 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.432, allocations: 134.3 kB / 0.7995 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/1.433, allocations: 225.4 kB / 0.7997 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.433, allocations: 96 kB / 0.7998 GB, free: 107 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005268/1.438, allocations: 3.651 MB / 0.8034 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.438, allocations: 4 kB / 0.8034 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007689/1.446, allocations: 1.65 MB / 0.805 GB, free: 101.8 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.0007168/1.447, allocations: 273.1 kB / 0.8052 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.458, allocations: 7.939 MB / 0.813 GB, free: 93.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.458, allocations: 0 / 0.813 GB, free: 93.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003743/1.462, allocations: 2.38 MB / 0.8153 GB, free: 91.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.466, allocations: 0.6946 MB / 0.816 GB, free: 90.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/1.491, allocations: 15.2 MB / 0.8308 GB, free: 75.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007113/1.498, allocations: 5.157 MB / 0.8359 GB, free: 69.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006553/1.505, allocations: 2.958 MB / 0.8388 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.506, allocations: 383.4 kB / 0.8391 GB, free: 66.59 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/1.506, allocations: 0 / 0.8391 GB, free: 66.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.09292/1.599, allocations: 52.82 MB / 0.8907 GB, free: 14.25 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 -s cvode -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