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.001461/0.001461, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.035/2.035, allocations: 227.4 MB / 246.9 MB, free: 8.988 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3482/0.3482, allocations: 46.1 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 78.83 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2005, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.5458/0.7463, allocations: 57.79 MB / 0.5251 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05519/0.8016, allocations: 12.2 MB / 0.537 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02538/0.827, allocations: 251.5 kB / 0.5373 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01413/0.8413, allocations: 4.132 MB / 0.5413 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.8548, allocations: 2.565 MB / 0.5438 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006019/0.8608, allocations: 1.16 MB / 0.545 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02592/0.8868, allocations: 10.84 MB / 0.5555 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.9027, allocations: 5.739 MB / 0.5611 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009707/0.9125, allocations: 2.351 MB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.9251, allocations: 3.968 MB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003841/0.929, allocations: 416 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009316/0.9384, allocations: 1.646 MB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008949/0.9474, allocations: 3.132 MB / 0.5724 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0142/0.9617, allocations: 3.595 MB / 0.5759 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02137/0.9832, allocations: 9.707 MB / 0.5854 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.9833, allocations: 0 / 0.5854 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.9833, allocations: 0 / 0.5854 GB, free: 11.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006872/0.984, allocations: 0 / 0.5854 GB, free: 11.46 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.03978/1.024, allocations: 7.828 MB / 0.593 GB, free: 3.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.209e-05/1.024, allocations: 12.88 kB / 0.593 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.032/1.056, allocations: 3.941 MB / 0.5969 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/1.074, allocations: 4.178 MB / 0.601 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008342/1.075, allocations: 402 kB / 0.6013 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/1.08, allocations: 0.5502 MB / 0.6019 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05897/1.139, allocations: 18.89 MB / 0.6203 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004927/1.139, allocations: 75.3 kB / 0.6204 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003359/1.143, allocations: 247.8 kB / 0.6206 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00899/1.152, allocations: 3.428 MB / 0.624 GB, free: 2.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05786/1.209, allocations: 16.64 MB / 0.6402 GB, free: 2.059 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.1559/1.365, allocations: 66.89 MB / 0.7056 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/1.395, allocations: 6.274 MB / 0.7117 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008185/1.403, allocations: 2.835 MB / 0.7144 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4419/1.845, allocations: 13.94 MB / 0.7281 GB, free: 190.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/1.845, allocations: 58.94 kB / 0.7281 GB, free: 190.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 1.165e-05/1.846, allocations: 3 kB / 0.7281 GB, free: 190.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.1321/1.978, allocations: 24.85 MB / 0.7524 GB, free: 182.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.978, allocations: 183.7 kB / 0.7526 GB, free: 182.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01875/1.997, allocations: 5.879 MB / 0.7583 GB, free: 179 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009672/1.998, allocations: 73.7 kB / 0.7584 GB, free: 178.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005207/2.003, allocations: 4.951 MB / 0.7632 GB, free: 174.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002312/2.005, allocations: 1.281 MB / 0.7645 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006465/2.012, allocations: 1.912 MB / 0.7663 GB, free: 170.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/2.012, allocations: 304.9 kB / 0.7666 GB, free: 170.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009498/2.021, allocations: 3.357 MB / 0.7699 GB, free: 167.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/2.036, allocations: 8.873 MB / 0.7786 GB, free: 155.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/2.053, allocations: 13.19 MB / 0.7914 GB, free: 139.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002535/2.053, allocations: 60 kB / 0.7915 GB, free: 139.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02923/2.082, allocations: 13 MB / 0.8042 GB, free: 126.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003894/2.083, allocations: 96 kB / 0.8043 GB, free: 126.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005665/2.083, allocations: 195.8 kB / 0.8045 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004794/2.088, allocations: 1.313 MB / 0.8058 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008292/2.097, allocations: 2.211 MB / 0.8079 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/2.108, allocations: 7.282 MB / 0.815 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008704/2.117, allocations: 0.5117 MB / 0.8155 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002243/2.119, allocations: 0.5507 MB / 0.8161 GB, free: 114.3 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.00876/2.128, allocations: 3.455 MB / 0.8194 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/2.129, allocations: 0.5244 MB / 0.8199 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/2.147, allocations: 5.404 MB / 0.8252 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/2.147, allocations: 39.12 kB / 0.8253 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/2.147, allocations: 9.594 kB / 0.8253 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-05/2.147, allocations: 15.94 kB / 0.8253 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04825/2.196, allocations: 14 MB / 0.839 GB, free: 90.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.554e-05/2.196, allocations: 12.97 kB / 0.839 GB, free: 90.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/2.199, allocations: 0.5031 MB / 0.8395 GB, free: 90.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004512/2.204, allocations: 0.8008 MB / 0.8402 GB, free: 89.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008326/2.204, allocations: 79.92 kB / 0.8403 GB, free: 89.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/2.219, allocations: 5.332 MB / 0.8455 GB, free: 83.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/2.219, allocations: 15.94 kB / 0.8455 GB, free: 83.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/2.243, allocations: 8.302 MB / 0.8536 GB, free: 75.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/2.245, allocations: 0.5574 MB / 0.8542 GB, free: 74.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/2.248, allocations: 67.73 kB / 0.8543 GB, free: 74.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005316/2.253, allocations: 135.9 kB / 0.8544 GB, free: 74.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/2.255, allocations: 225.4 kB / 0.8546 GB, free: 74.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00094/2.256, allocations: 104 kB / 0.8547 GB, free: 74.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01285/2.269, allocations: 3.643 MB / 0.8583 GB, free: 70.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.563e-06/2.269, allocations: 0 / 0.8583 GB, free: 70.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0166/2.286, allocations: 1.625 MB / 0.8598 GB, free: 68.8 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.001686/2.287, allocations: 266 kB / 0.8601 GB, free: 68.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02063/2.308, allocations: 7.908 MB / 0.8678 GB, free: 60.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/2.308, allocations: 320 / 0.8678 GB, free: 60.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006725/2.315, allocations: 2.377 MB / 0.8701 GB, free: 58.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/2.325, allocations: 0.6669 MB / 0.8708 GB, free: 57.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04411/2.369, allocations: 19.56 MB / 0.8899 GB, free: 37.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/2.38, allocations: 5.145 MB / 0.8949 GB, free: 32.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/2.383, allocations: 451.4 kB / 0.8954 GB, free: 32.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/2.383, allocations: 0 / 0.8954 GB, free: 32.23 MB / 0.545 GB Notification: Performance of Templates: time 0.6816/3.064, allocations: 125.7 MB / 1.018 GB, free: 91.37 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