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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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.001234/0.001234, allocations: 108 kB / 17.09 MB, free: 5.789 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.001087/0.001088, allocations: 194.1 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2066/0.2066, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 73.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1404, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01904/0.1594, allocations: 16.39 MB / 0.5045 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1728, allocations: 5.303 MB / 0.5097 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004104/0.1769, allocations: 103.7 kB / 0.5098 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009179/0.1862, allocations: 4.166 MB / 0.5139 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.1952, allocations: 2.755 MB / 0.5166 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.199, allocations: 1.271 MB / 0.5178 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.2109, allocations: 7.458 MB / 0.5251 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.221, allocations: 5.86 MB / 0.5308 GB, free: 308 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2716/0.4926, allocations: 2.694 MB / 0.5334 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007441/0.5001, allocations: 3.788 MB / 0.5371 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.5023, allocations: 0.5995 MB / 0.5377 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.507, allocations: 1.759 MB / 0.5395 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004969/0.512, allocations: 3.348 MB / 0.5427 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007162/0.5192, allocations: 3.8 MB / 0.5464 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.5348, allocations: 12.39 MB / 0.5585 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5348, allocations: 0 / 0.5585 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5348, allocations: 0 / 0.5585 GB, free: 5.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003653/0.5352, allocations: 0 / 0.5585 GB, free: 5.469 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.01868/0.5539, allocations: 7.9 MB / 0.5663 GB, free: 468 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5539, allocations: 14.27 kB / 0.5663 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.5693, allocations: 3.938 MB / 0.5701 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.5829, allocations: 4.469 MB / 0.5745 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.5834, allocations: 405.5 kB / 0.5749 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003434/0.5868, allocations: 0.5479 MB / 0.5754 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04176/0.6286, allocations: 18.88 MB / 0.5938 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/0.6289, allocations: 69.08 kB / 0.5939 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/0.6302, allocations: 250.7 kB / 0.5941 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005448/0.6357, allocations: 3.435 MB / 0.5975 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/0.6742, allocations: 16.62 MB / 0.6137 GB, free: 6.062 MB / 462.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.1035/0.7777, allocations: 66.61 MB / 0.6788 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/0.7945, allocations: 6.273 MB / 0.6849 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/0.7991, allocations: 2.818 MB / 0.6876 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02535/0.8245, allocations: 13.85 MB / 0.7012 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.8246, allocations: 56.56 kB / 0.7012 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 7.073e-06/0.8246, allocations: 0 / 0.7012 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09393/0.9185, allocations: 25.1 MB / 0.7257 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.9187, allocations: 188.3 kB / 0.7259 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/0.9332, allocations: 5.92 MB / 0.7317 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009683/0.9342, allocations: 73.7 kB / 0.7318 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005332/0.9395, allocations: 4.961 MB / 0.7366 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/0.9421, allocations: 1.279 MB / 0.7379 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006887/0.949, allocations: 1.908 MB / 0.7397 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9492, allocations: 305.1 kB / 0.74 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00702/0.9562, allocations: 3.357 MB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/0.9686, allocations: 8.876 MB / 0.752 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3117/1.28, allocations: 13.18 MB / 0.7648 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.281, allocations: 58.77 kB / 0.7649 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02887/1.309, allocations: 13 MB / 0.7776 GB, free: 185 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.31, allocations: 89.97 kB / 0.7777 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003401/1.31, allocations: 189.7 kB / 0.7779 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/1.315, allocations: 1.328 MB / 0.7792 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007574/1.322, allocations: 2.208 MB / 0.7813 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.333, allocations: 7.845 MB / 0.789 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007576/1.341, allocations: 0.4975 MB / 0.7895 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/1.343, allocations: 0.551 MB / 0.79 GB, free: 180.2 MB / 0.5919 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.007967/1.351, allocations: 3.459 MB / 0.7934 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.352, allocations: 0.5206 MB / 0.7939 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.364, allocations: 5.407 MB / 0.7992 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.906e-05/1.364, allocations: 12.78 kB / 0.7992 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.364, allocations: 3.875 kB / 0.7992 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/1.367, allocations: 0.972 MB / 0.8001 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.368, allocations: 47.62 kB / 0.8002 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.37, allocations: 172 kB / 0.8003 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/1.371, allocations: 193.7 kB / 0.8005 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0106/1.382, allocations: 5.731 MB / 0.8061 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008953/1.391, allocations: 7.984 MB / 0.8139 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002301/1.393, allocations: 2.142 MB / 0.816 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005858/1.399, allocations: 3.677 MB / 0.8196 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of Backend: time 8.81e-07/1.399, allocations: 0 / 0.8196 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.413, allocations: 6.553 MB / 0.826 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02605/1.439, allocations: 14.86 MB / 0.8405 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1225/1.562, allocations: 72.91 MB / 0.9117 GB, free: 68.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches