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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001142, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 84.31 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01577/0.1356, allocations: 16.23 MB / 496.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009862/0.1455, allocations: 5.361 MB / 0.49 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.1478, allocations: 99.75 kB / 0.49 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007671/0.1556, allocations: 4.154 MB / 0.4941 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.1625, allocations: 2.707 MB / 0.4967 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.1655, allocations: 1.267 MB / 0.498 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2301/0.3956, allocations: 7.71 MB / 0.5055 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008051/0.4037, allocations: 5.852 MB / 0.5112 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.4093, allocations: 2.664 MB / 0.5138 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00671/0.416, allocations: 3.767 MB / 0.5175 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.4184, allocations: 0.6008 MB / 0.5181 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.4226, allocations: 1.749 MB / 0.5198 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005067/0.4277, allocations: 3.28 MB / 0.523 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.4332, allocations: 3.798 MB / 0.5267 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.445, allocations: 11.97 MB / 0.5384 GB, free: 3.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.445, allocations: 0 / 0.5384 GB, free: 3.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.445, allocations: 0 / 0.5384 GB, free: 3.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003863/0.4454, allocations: 0 / 0.5384 GB, free: 3.109 MB / 382.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.02253/0.4679, allocations: 7.955 MB / 0.5462 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.468, allocations: 12.17 kB / 0.5462 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003044/0.4711, allocations: 1.3 MB / 0.5475 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02986/0.5009, allocations: 5.703 MB / 0.553 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.5138, allocations: 4.819 MB / 0.5577 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/0.5144, allocations: 402.4 kB / 0.5581 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.5175, allocations: 0.5615 MB / 0.5587 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04046/0.558, allocations: 18.83 MB / 0.577 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002744/0.5583, allocations: 73.52 kB / 0.5771 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.5599, allocations: 248.2 kB / 0.5774 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005139/0.5651, allocations: 3.43 MB / 0.5807 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03767/0.6027, allocations: 16.51 MB / 0.5968 GB, free: 10.83 MB / 446.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.0909/0.6937, allocations: 66.8 MB / 0.6621 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/0.7155, allocations: 6.276 MB / 0.6682 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/0.7215, allocations: 2.828 MB / 0.671 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02908/0.7506, allocations: 13.93 MB / 0.6846 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.7506, allocations: 64.5 kB / 0.6846 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.881e-06/0.7507, allocations: 0 / 0.6846 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.0856/0.8363, allocations: 24.88 MB / 0.7089 GB, free: 6.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.8364, allocations: 191.2 kB / 0.7091 GB, free: 5.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009616/0.846, allocations: 5.898 MB / 0.7149 GB, free: 92 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005597/0.8466, allocations: 73.7 kB / 0.7149 GB, free: 12 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2134/1.06, allocations: 4.971 MB / 0.7198 GB, free: 187.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.061, allocations: 1.281 MB / 0.721 GB, free: 186.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00281/1.064, allocations: 1.868 MB / 0.7229 GB, free: 185.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/1.064, allocations: 301.8 kB / 0.7231 GB, free: 185.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/1.07, allocations: 3.299 MB / 0.7264 GB, free: 184.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007684/1.078, allocations: 8.773 MB / 0.7349 GB, free: 176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.091, allocations: 13.05 MB / 0.7477 GB, free: 165.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002828/1.092, allocations: 54.81 kB / 0.7477 GB, free: 165.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02254/1.114, allocations: 12.83 MB / 0.7603 GB, free: 160.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.114, allocations: 85.84 kB / 0.7603 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/1.115, allocations: 196.2 kB / 0.7605 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003855/1.118, allocations: 1.329 MB / 0.7618 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006641/1.125, allocations: 2.16 MB / 0.7639 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.136, allocations: 7.841 MB / 0.7716 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007915/1.143, allocations: 0.5011 MB / 0.7721 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.145, allocations: 0.5442 MB / 0.7726 GB, free: 153.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * 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.005739/1.151, allocations: 3.456 MB / 0.776 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.152, allocations: 0.536 MB / 0.7765 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009492/1.162, allocations: 5.413 MB / 0.7818 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/1.162, allocations: 36 kB / 0.7818 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.162, allocations: 8 kB / 0.7818 GB, free: 145.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.162, allocations: 11.39 kB / 0.7818 GB, free: 145.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.189, allocations: 14.01 MB / 0.7955 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.189, allocations: 12 kB / 0.7955 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.191, allocations: 0.4953 MB / 0.796 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.194, allocations: 0.812 MB / 0.7968 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/1.194, allocations: 71.92 kB / 0.7969 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007835/1.202, allocations: 5.816 MB / 0.8026 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.202, allocations: 15.94 kB / 0.8026 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.215, allocations: 8.313 MB / 0.8107 GB, free: 116.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/1.217, allocations: 0.5546 MB / 0.8112 GB, free: 115.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.218, allocations: 74.58 kB / 0.8113 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.22, allocations: 131.9 kB / 0.8114 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/1.221, allocations: 217.5 kB / 0.8116 GB, free: 115.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.221, allocations: 106.2 kB / 0.8118 GB, free: 115.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00476/1.226, allocations: 3.663 MB / 0.8153 GB, free: 111.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/1.226, allocations: 4 kB / 0.8153 GB, free: 111.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007816/1.234, allocations: 1.593 MB / 0.8169 GB, free: 110.1 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.01255/1.246, allocations: 9.057 MB / 0.8257 GB, free: 100.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.264, allocations: 11.22 MB / 0.8367 GB, free: 89.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.264, allocations: 4 kB / 0.8367 GB, free: 89.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/1.268, allocations: 2.378 MB / 0.839 GB, free: 87.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/1.271, allocations: 0.7177 MB / 0.8397 GB, free: 86.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.105/1.377, allocations: 87.21 MB / 0.9249 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2104/1.587, allocations: 5.149 MB / 0.9299 GB, free: 196.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008418/1.596, allocations: 2.964 MB / 0.9328 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005454/1.601, allocations: 3.33 MB / 0.9361 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.601, allocations: 0 / 0.9361 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/1.759, allocations: 116.2 MB / 1.049 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.91, allocations: 16.47 kB / 1.05 GB, free: 103.9 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > 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