Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009802/0.0009803, allocations: 92.12 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 205.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 63.45 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3514/0.487, allocations: 58.58 MB / 0.5273 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04385/0.5309, allocations: 14.2 MB / 0.5412 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01813/0.5491, allocations: 297.2 kB / 0.5414 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01343/0.5625, allocations: 2.906 MB / 0.5443 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03694/0.5995, allocations: 8.358 MB / 0.5524 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00622/0.6058, allocations: 1.144 MB / 0.5536 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.1047/0.7104, allocations: 72.37 MB / 0.6242 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.7237, allocations: 8.076 MB / 0.6321 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.7282, allocations: 1.748 MB / 0.6338 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.7329, allocations: 2.36 MB / 0.6361 GB, free: 8.922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.7342, allocations: 240 kB / 0.6364 GB, free: 8.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.7374, allocations: 1.194 MB / 0.6375 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003064/0.7405, allocations: 2.642 MB / 0.6401 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.7428, allocations: 1.322 MB / 0.6414 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.7546, allocations: 9.523 MB / 0.6507 GB, free: 9.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7546, allocations: 4 kB / 0.6507 GB, free: 9.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7546, allocations: 0 / 0.6507 GB, free: 9.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003779/0.755, allocations: 0 / 0.6507 GB, free: 9.961 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01846/0.7735, allocations: 7.016 MB / 0.6576 GB, free: 2.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.7736, allocations: 12.03 kB / 0.6576 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05974/0.8333, allocations: 11.09 MB / 0.6684 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.8474, allocations: 5.375 MB / 0.6737 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.8477, allocations: 381.8 kB / 0.674 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.8497, allocations: 0.5035 MB / 0.6745 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/0.8852, allocations: 15.64 MB / 0.6898 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002565/0.8855, allocations: 67.42 kB / 0.6898 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009435/0.8865, allocations: 235.8 kB / 0.6901 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005214/0.8917, allocations: 2.544 MB / 0.6925 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03459/0.9263, allocations: 13.13 MB / 0.7054 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4079/1.334, allocations: 57.32 MB / 0.7613 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/1.35, allocations: 6.454 MB / 0.7677 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/1.367, allocations: 11.48 MB / 0.7789 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.367, allocations: 65.97 kB / 0.7789 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.12e-06/1.367, allocations: 0 / 0.7789 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.1247/1.492, allocations: 40.27 MB / 0.8183 GB, free: 85.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/1.492, allocations: 247.8 kB / 0.8185 GB, free: 85.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007642/1.5, allocations: 6.074 MB / 0.8244 GB, free: 79.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009691/1.501, allocations: 77.7 kB / 0.8245 GB, free: 79.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.503, allocations: 4.447 MB / 0.8288 GB, free: 74.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.505, allocations: 1.236 MB / 0.8301 GB, free: 73.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/1.505, allocations: 160 kB / 0.8302 GB, free: 73.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002998/1.505, allocations: 0.6492 MB / 0.8308 GB, free: 72.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/1.51, allocations: 3.744 MB / 0.8345 GB, free: 69.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/1.516, allocations: 8.242 MB / 0.8425 GB, free: 58.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/1.522, allocations: 5.433 MB / 0.8478 GB, free: 53.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.787e-05/1.522, allocations: 44 kB / 0.8479 GB, free: 53.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02711/1.549, allocations: 15.39 MB / 0.8629 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/1.549, allocations: 72 kB / 0.863 GB, free: 37.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.55, allocations: 160 kB / 0.8631 GB, free: 37.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/1.562, allocations: 4.117 MB / 0.8672 GB, free: 33.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00588/1.567, allocations: 1.801 MB / 0.8689 GB, free: 31.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/1.592, allocations: 20.3 MB / 0.8887 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006975/1.599, allocations: 495.3 kB / 0.8892 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009892/1.6, allocations: 469.4 kB / 0.8897 GB, free: 10.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (966): * Single equations (assignments): 962 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004663/1.605, allocations: 3.12 MB / 0.8927 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009625/1.606, allocations: 0.5283 MB / 0.8932 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.624, allocations: 9.589 MB / 0.9026 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-05/1.624, allocations: 41.28 kB / 0.9026 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/1.624, allocations: 12 kB / 0.9026 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/1.624, allocations: 15.94 kB / 0.9027 GB, free: 12.79 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.3662/1.99, allocations: 19.77 MB / 0.922 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/1.991, allocations: 6.719 kB / 0.922 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.993, allocations: 494.5 kB / 0.9224 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/2.007, allocations: 3.66 MB / 0.926 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007881/2.008, allocations: 60 kB / 0.9261 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02483/2.032, allocations: 17.86 MB / 0.9435 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.032, allocations: 9.781 kB / 0.9435 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/2.057, allocations: 15.16 MB / 0.9583 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/2.059, allocations: 0.5867 MB / 0.9589 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/2.06, allocations: 63.84 kB / 0.959 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/2.063, allocations: 233.2 kB / 0.9592 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007032/2.064, allocations: 218 kB / 0.9594 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/2.064, allocations: 96.81 kB / 0.9595 GB, free: 164.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005472/2.07, allocations: 3.905 MB / 0.9633 GB, free: 161 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.41e-07/2.07, allocations: 0 / 0.9633 GB, free: 161 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0077/2.077, allocations: 1.715 MB / 0.965 GB, free: 159.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.w) * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009524/2.078, allocations: 245.5 kB / 0.9652 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01262/2.091, allocations: 9.201 MB / 0.9742 GB, free: 149.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.091, allocations: 0 / 0.9742 GB, free: 149.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/2.096, allocations: 3.64 MB / 0.9777 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/2.099, allocations: 0.6839 MB / 0.9784 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/2.126, allocations: 18.05 MB / 0.996 GB, free: 127.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006185/2.132, allocations: 4.958 MB / 1.001 GB, free: 122.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006302/2.138, allocations: 2.594 MB / 1.003 GB, free: 120.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/2.14, allocations: 359.4 kB / 1.004 GB, free: 119.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/2.14, allocations: 0 / 1.004 GB, free: 119.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1055/2.245, allocations: 72.12 MB / 1.074 GB, free: 47.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches