Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001197, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3358, allocations: 62.43 MB / 0.5316 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01747/0.3533, allocations: 16.25 MB / 0.5475 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3666, allocations: 5.348 MB / 0.5527 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/0.3709, allocations: 95.75 kB / 0.5528 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008291/0.3793, allocations: 4.15 MB / 0.5569 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008664/0.388, allocations: 2.715 MB / 0.5595 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.391, allocations: 1.26 MB / 0.5608 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.4019, allocations: 7.731 MB / 0.5683 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.414, allocations: 5.85 MB / 0.574 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.4194, allocations: 2.671 MB / 0.5766 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006387/0.4258, allocations: 3.77 MB / 0.5803 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.4278, allocations: 0.5938 MB / 0.5809 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/0.4326, allocations: 1.752 MB / 0.5826 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004332/0.4369, allocations: 3.308 MB / 0.5858 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006474/0.4434, allocations: 3.767 MB / 0.5895 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.459, allocations: 12.29 MB / 0.6015 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.198e-05/0.4591, allocations: 0 / 0.6015 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4591, allocations: 3.938 kB / 0.6015 GB, free: 10.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004773/0.4596, allocations: 0 / 0.6015 GB, free: 10.07 MB / 462.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.01953/0.4791, allocations: 7.844 MB / 0.6092 GB, free: 2.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4792, allocations: 8.031 kB / 0.6092 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.4953, allocations: 3.941 MB / 0.613 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.5062, allocations: 4.24 MB / 0.6172 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.5067, allocations: 398 kB / 0.6176 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/0.5092, allocations: 0.5542 MB / 0.6181 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03751/0.5467, allocations: 18.88 MB / 0.6365 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/0.547, allocations: 75.3 kB / 0.6366 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/0.5486, allocations: 247.8 kB / 0.6368 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005797/0.5545, allocations: 3.424 MB / 0.6402 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03636/0.5908, allocations: 16.63 MB / 0.6564 GB, free: 0.6055 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.5622/1.153, allocations: 66.59 MB / 0.7215 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01506/1.168, allocations: 6.261 MB / 0.7276 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/1.172, allocations: 2.847 MB / 0.7304 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/1.19, allocations: 13.93 MB / 0.744 GB, free: 137 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.19, allocations: 70.56 kB / 0.744 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.562e-06/1.19, allocations: 0 / 0.744 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07606/1.266, allocations: 24.84 MB / 0.7683 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.266, allocations: 191.8 kB / 0.7685 GB, free: 121.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00583/1.272, allocations: 5.876 MB / 0.7742 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003929/1.273, allocations: 69.7 kB / 0.7743 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/1.274, allocations: 4.95 MB / 0.7791 GB, free: 110.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/1.275, allocations: 1.285 MB / 0.7804 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/1.277, allocations: 1.908 MB / 0.7822 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.277, allocations: 313.1 kB / 0.7825 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/1.281, allocations: 3.357 MB / 0.7858 GB, free: 103.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00577/1.287, allocations: 8.883 MB / 0.7945 GB, free: 92.25 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.298, allocations: 13.19 MB / 0.8074 GB, free: 76.45 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.299, allocations: 56 kB / 0.8074 GB, free: 76.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02087/1.32, allocations: 13 MB / 0.8201 GB, free: 63.34 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/1.32, allocations: 84 kB / 0.8202 GB, free: 63.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/1.32, allocations: 196 kB / 0.8204 GB, free: 63.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003709/1.324, allocations: 1.318 MB / 0.8217 GB, free: 61.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006297/1.33, allocations: 2.211 MB / 0.8238 GB, free: 59.53 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/1.34, allocations: 7.849 MB / 0.8315 GB, free: 51.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.346, allocations: 0.5071 MB / 0.832 GB, free: 51.05 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007827/1.347, allocations: 0.5547 MB / 0.8325 GB, free: 50.5 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.004209/1.351, allocations: 3.448 MB / 0.8359 GB, free: 47.03 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/1.352, allocations: 0.5206 MB / 0.8364 GB, free: 46.5 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00968/1.361, allocations: 5.403 MB / 0.8417 GB, free: 41.04 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.361, allocations: 15.95 kB / 0.8417 GB, free: 41.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.361, allocations: 7.984 kB / 0.8417 GB, free: 41.02 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.363, allocations: 0.5411 MB / 0.8422 GB, free: 40.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/1.363, allocations: 48 kB / 0.8423 GB, free: 40.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.365, allocations: 167.8 kB / 0.8424 GB, free: 40.24 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003827/1.365, allocations: 204.2 kB / 0.8426 GB, free: 40.05 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0095/1.375, allocations: 5.732 MB / 0.8482 GB, free: 34.32 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008462/1.383, allocations: 7.998 MB / 0.856 GB, free: 26.25 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00233/1.386, allocations: 2.152 MB / 0.8581 GB, free: 24.08 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004775/1.391, allocations: 3.646 MB / 0.8617 GB, free: 20.46 MB / 0.5607 GB Notification: Performance of Backend: time 1.162e-06/1.391, allocations: 0 / 0.8617 GB, free: 20.46 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.402, allocations: 6.56 MB / 0.8681 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01945/1.422, allocations: 14.82 MB / 0.8826 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of Templates: time 0.3786/1.801, allocations: 72.57 MB / 0.9534 GB, free: 227 MB / 0.6388 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches