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.00243/0.00243, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003039/0.003039, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.055/3.055, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5027/0.5027, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003005, allocations: 80.55 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2795, allocations: 62.44 MB / 480.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.6987/0.9783, allocations: 57.79 MB / 0.5253 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06093/1.039, allocations: 12.08 MB / 0.5371 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02846/1.068, allocations: 249.8 kB / 0.5374 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01609/1.084, allocations: 3.997 MB / 0.5413 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.101, allocations: 2.536 MB / 0.5437 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007122/1.108, allocations: 1.19 MB / 0.5449 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02359/1.131, allocations: 7.921 MB / 0.5526 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/1.149, allocations: 6.164 MB / 0.5587 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/1.16, allocations: 2.71 MB / 0.5613 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/1.172, allocations: 4.148 MB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004847/1.176, allocations: 0.5938 MB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009761/1.186, allocations: 1.775 MB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01079/1.197, allocations: 3.316 MB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01709/1.214, allocations: 3.802 MB / 0.5746 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02642/1.241, allocations: 9.792 MB / 0.5842 GB, free: 12.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.146e-05/1.241, allocations: 0 / 0.5842 GB, free: 12.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.727e-06/1.241, allocations: 0 / 0.5842 GB, free: 12.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007543/1.242, allocations: 0 / 0.5842 GB, free: 12.63 MB / 430.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.04471/1.287, allocations: 7.84 MB / 0.5918 GB, free: 4.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.32e-05/1.287, allocations: 8.031 kB / 0.5918 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/1.318, allocations: 3.945 MB / 0.5957 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/1.338, allocations: 4.182 MB / 0.5998 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/1.34, allocations: 398 kB / 0.6002 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00678/1.347, allocations: 0.5541 MB / 0.6007 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08417/1.431, allocations: 18.89 MB / 0.6192 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005683/1.432, allocations: 71.31 kB / 0.6192 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004004/1.436, allocations: 247.8 kB / 0.6195 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01099/1.447, allocations: 3.428 MB / 0.6228 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06745/1.514, allocations: 16.63 MB / 0.639 GB, free: 3.219 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.187/1.701, allocations: 66.9 MB / 0.7044 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/1.735, allocations: 6.278 MB / 0.7105 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008305/1.743, allocations: 2.824 MB / 0.7133 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087/2.831, allocations: 13.94 MB / 0.7269 GB, free: 191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/2.831, allocations: 59.83 kB / 0.7269 GB, free: 190.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 1.376e-05/2.831, allocations: 0 / 0.7269 GB, free: 190.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.1645/2.996, allocations: 24.85 MB / 0.7512 GB, free: 183.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/2.996, allocations: 189.5 kB / 0.7514 GB, free: 183 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01852/3.014, allocations: 5.876 MB / 0.7571 GB, free: 179.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/3.015, allocations: 77.64 kB / 0.7572 GB, free: 179.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006143/3.022, allocations: 4.949 MB / 0.762 GB, free: 175.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00252/3.024, allocations: 1.289 MB / 0.7633 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006668/3.031, allocations: 1.908 MB / 0.7651 GB, free: 171.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/3.031, allocations: 304.4 kB / 0.7654 GB, free: 171.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009986/3.041, allocations: 3.357 MB / 0.7687 GB, free: 168.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/3.058, allocations: 8.876 MB / 0.7774 GB, free: 156.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02432/3.082, allocations: 13.19 MB / 0.7903 GB, free: 140.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005076/3.083, allocations: 56 kB / 0.7903 GB, free: 140.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.04795/3.131, allocations: 13.01 MB / 0.803 GB, free: 127.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/3.131, allocations: 88 kB / 0.8031 GB, free: 127.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004678/3.132, allocations: 192 kB / 0.8033 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007253/3.139, allocations: 1.322 MB / 0.8046 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/3.153, allocations: 2.211 MB / 0.8067 GB, free: 123.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/3.171, allocations: 7.85 MB / 0.8144 GB, free: 115.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/3.184, allocations: 0.5111 MB / 0.8149 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003153/3.187, allocations: 0.5508 MB / 0.8154 GB, free: 114.8 MB / 0.545 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.01183/3.199, allocations: 3.46 MB / 0.8188 GB, free: 111.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/3.201, allocations: 0.5221 MB / 0.8193 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/3.218, allocations: 5.4 MB / 0.8246 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/3.219, allocations: 40 kB / 0.8246 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/3.219, allocations: 8 kB / 0.8246 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001385/3.219, allocations: 15.95 kB / 0.8247 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05217/3.271, allocations: 14.01 MB / 0.8383 GB, free: 91.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-05/3.271, allocations: 12 kB / 0.8384 GB, free: 91.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003818/3.275, allocations: 499.2 kB / 0.8388 GB, free: 90.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005111/3.28, allocations: 0.8203 MB / 0.8396 GB, free: 89.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009322/3.281, allocations: 67.98 kB / 0.8397 GB, free: 89.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/3.295, allocations: 5.813 MB / 0.8454 GB, free: 83.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/3.295, allocations: 23.88 kB / 0.8454 GB, free: 83.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/3.318, allocations: 8.295 MB / 0.8535 GB, free: 75.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/3.32, allocations: 0.5644 MB / 0.854 GB, free: 74.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002721/3.323, allocations: 67.98 kB / 0.8541 GB, free: 74.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005319/3.328, allocations: 131.9 kB / 0.8542 GB, free: 74.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/3.33, allocations: 224.9 kB / 0.8545 GB, free: 74.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004189/3.33, allocations: 92 kB / 0.8545 GB, free: 74.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01108/3.341, allocations: 3.654 MB / 0.8581 GB, free: 70.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.62e-07/3.341, allocations: 2.812 kB / 0.8581 GB, free: 70.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01815/3.359, allocations: 1.621 MB / 0.8597 GB, free: 68.79 MB / 0.545 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.001621/3.361, allocations: 265.7 kB / 0.8599 GB, free: 68.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02999/3.391, allocations: 11.32 MB / 0.871 GB, free: 57.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/3.391, allocations: 4.125 kB / 0.871 GB, free: 57.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006164/3.397, allocations: 2.383 MB / 0.8733 GB, free: 54.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008138/3.405, allocations: 0.6997 MB / 0.874 GB, free: 54.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/3.457, allocations: 19.57 MB / 0.8931 GB, free: 34.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01522/3.473, allocations: 5.145 MB / 0.8981 GB, free: 29.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/3.475, allocations: 451.4 kB / 0.8986 GB, free: 28.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.475e-06/3.475, allocations: 0 / 0.8986 GB, free: 28.8 MB / 0.545 GB Notification: Performance of Templates: time 1.138/4.613, allocations: 125.7 MB / 1.021 GB, free: 89.5 MB / 0.545 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