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.001539/0.001546, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001763/0.001763, allocations: 183.9 kB / 18.71 MB, free: 4.371 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 / 242.4 MB, free: 15.05 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.2231/0.2231, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.43, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01912/0.4491, allocations: 16.29 MB / 0.5348 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.4626, allocations: 5.338 MB / 0.54 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/0.4663, allocations: 97.25 kB / 0.5401 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008177/0.4745, allocations: 4.174 MB / 0.5442 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009309/0.4839, allocations: 2.836 MB / 0.5469 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.4874, allocations: 1.26 MB / 0.5482 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.5011, allocations: 7.611 MB / 0.5556 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.5112, allocations: 5.854 MB / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007601/0.5189, allocations: 2.683 MB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.5255, allocations: 3.778 MB / 0.5676 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002765/0.5283, allocations: 0.5938 MB / 0.5682 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.5339, allocations: 1.764 MB / 0.5699 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005328/0.5393, allocations: 3.339 MB / 0.5732 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007329/0.5466, allocations: 3.799 MB / 0.5769 GB, free: 456 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02251/0.5692, allocations: 12.38 MB / 0.589 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5692, allocations: 0 / 0.589 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5693, allocations: 0 / 0.589 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005915/0.5699, allocations: 0 / 0.589 GB, free: 4.027 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.03321/0.6031, allocations: 7.882 MB / 0.5967 GB, free: 12.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.6032, allocations: 12.03 kB / 0.5967 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/0.6246, allocations: 3.941 MB / 0.6005 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.6353, allocations: 4.315 MB / 0.6048 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/0.6358, allocations: 398 kB / 0.6051 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/0.6384, allocations: 0.5541 MB / 0.6057 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04628/0.6847, allocations: 18.87 MB / 0.6241 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/0.6852, allocations: 75.3 kB / 0.6242 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/0.6879, allocations: 247.8 kB / 0.6244 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006053/0.694, allocations: 3.428 MB / 0.6278 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03924/0.7333, allocations: 16.63 MB / 0.644 GB, free: 10.45 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.1053/0.8386, allocations: 66.59 MB / 0.709 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3431/1.182, allocations: 6.275 MB / 0.7152 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006265/1.188, allocations: 2.833 MB / 0.7179 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02612/1.214, allocations: 13.85 MB / 0.7314 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/1.214, allocations: 65.66 kB / 0.7315 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.682e-06/1.214, allocations: 0 / 0.7315 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08834/1.303, allocations: 25.04 MB / 0.756 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/1.303, allocations: 192.3 kB / 0.7561 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.314, allocations: 5.88 MB / 0.7619 GB, free: 142 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007183/1.315, allocations: 73.7 kB / 0.762 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003294/1.318, allocations: 4.957 MB / 0.7668 GB, free: 137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.32, allocations: 1.278 MB / 0.768 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004337/1.324, allocations: 1.904 MB / 0.7699 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.324, allocations: 309.1 kB / 0.7702 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.329, allocations: 3.361 MB / 0.7735 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007251/1.337, allocations: 8.868 MB / 0.7821 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.349, allocations: 13.18 MB / 0.795 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001907/1.35, allocations: 56 kB / 0.7951 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.025/1.375, allocations: 13 MB / 0.8078 GB, free: 89.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/1.375, allocations: 91.98 kB / 0.8079 GB, free: 89.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002902/1.375, allocations: 192.8 kB / 0.808 GB, free: 89.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/1.379, allocations: 1.314 MB / 0.8093 GB, free: 87.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006919/1.386, allocations: 2.207 MB / 0.8115 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.397, allocations: 7.846 MB / 0.8191 GB, free: 77.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007329/1.405, allocations: 0.4955 MB / 0.8196 GB, free: 77.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.406, allocations: 0.5497 MB / 0.8202 GB, free: 76.71 MB / 0.5606 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.005732/1.412, allocations: 3.464 MB / 0.8235 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.413, allocations: 0.5206 MB / 0.824 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.424, allocations: 5.404 MB / 0.8293 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.428e-05/1.424, allocations: 36 kB / 0.8294 GB, free: 67.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/1.424, allocations: 8 kB / 0.8294 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/1.424, allocations: 11.95 kB / 0.8294 GB, free: 67.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02867/1.453, allocations: 13.91 MB / 0.843 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/1.453, allocations: 15.94 kB / 0.843 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.456, allocations: 0.4883 MB / 0.8435 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/1.459, allocations: 0.8185 MB / 0.8443 GB, free: 51.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007592/1.46, allocations: 67.98 kB / 0.8443 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00866/1.469, allocations: 5.811 MB / 0.85 GB, free: 45.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/1.469, allocations: 15.94 kB / 0.85 GB, free: 45.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.483, allocations: 8.304 MB / 0.8581 GB, free: 37.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.485, allocations: 0.5605 MB / 0.8587 GB, free: 36.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.486, allocations: 63.98 kB / 0.8587 GB, free: 36.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.489, allocations: 131.9 kB / 0.8589 GB, free: 36.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006205/1.49, allocations: 224.8 kB / 0.8591 GB, free: 36.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/1.49, allocations: 103.9 kB / 0.8592 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007092/1.497, allocations: 3.651 MB / 0.8627 GB, free: 32.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.497, allocations: 0 / 0.8627 GB, free: 32.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008261/1.505, allocations: 1.656 MB / 0.8643 GB, free: 30.75 MB / 0.5606 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.000936/1.506, allocations: 266.2 kB / 0.8646 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.519, allocations: 7.94 MB / 0.8724 GB, free: 22.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.519, allocations: 0 / 0.8724 GB, free: 22.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00365/1.522, allocations: 2.384 MB / 0.8747 GB, free: 20.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/1.528, allocations: 0.6957 MB / 0.8754 GB, free: 19.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.557, allocations: 15.21 MB / 0.8902 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009246/1.566, allocations: 5.153 MB / 0.8952 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007127/1.573, allocations: 2.966 MB / 0.8981 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.575, allocations: 387.4 kB / 0.8985 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/1.575, allocations: 0 / 0.8985 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.44/2.015, allocations: 56.11 MB / 0.9533 GB, free: 191.7 MB / 0.6075 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/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