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.00121/0.00121, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 76.59 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1364, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3208/0.4572, allocations: 57.79 MB / 0.5246 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03096/0.4882, allocations: 12.21 MB / 0.5365 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01729/0.5055, allocations: 255 kB / 0.5368 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009195/0.5148, allocations: 4.129 MB / 0.5408 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008851/0.5237, allocations: 2.568 MB / 0.5433 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.5275, allocations: 1.154 MB / 0.5444 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.5409, allocations: 10.85 MB / 0.555 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008847/0.5498, allocations: 5.734 MB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.5547, allocations: 2.347 MB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008047/0.5628, allocations: 3.972 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00331/0.5662, allocations: 412 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006778/0.573, allocations: 1.646 MB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005276/0.5783, allocations: 3.14 MB / 0.5719 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007555/0.5859, allocations: 3.619 MB / 0.5754 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.6022, allocations: 11.81 MB / 0.5869 GB, free: 9.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6023, allocations: 0 / 0.5869 GB, free: 9.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6023, allocations: 0 / 0.5869 GB, free: 9.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005274/0.6028, allocations: 0 / 0.5869 GB, free: 9.105 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.02757/0.6304, allocations: 7.961 MB / 0.5947 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.066e-05/0.6305, allocations: 8.875 kB / 0.5947 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005338/0.6358, allocations: 1.311 MB / 0.596 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0306/0.6665, allocations: 5.697 MB / 0.6015 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.6787, allocations: 4.822 MB / 0.6063 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/0.6792, allocations: 398 kB / 0.6066 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.6815, allocations: 0.5541 MB / 0.6072 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/0.7207, allocations: 18.83 MB / 0.6256 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003463/0.7211, allocations: 71.31 kB / 0.6256 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002287/0.7234, allocations: 247.8 kB / 0.6259 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006252/0.7297, allocations: 3.432 MB / 0.6292 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03691/0.7666, allocations: 16.52 MB / 0.6453 GB, free: 12.02 MB / 494.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.1051/0.8717, allocations: 66.8 MB / 0.7106 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/0.8889, allocations: 6.282 MB / 0.7167 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5076/1.397, allocations: 2.823 MB / 0.7195 GB, free: 192.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02745/1.424, allocations: 13.93 MB / 0.7331 GB, free: 186.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/1.424, allocations: 69.78 kB / 0.7331 GB, free: 186 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 6.221e-06/1.424, allocations: 0 / 0.7331 GB, free: 186 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.08356/1.508, allocations: 24.87 MB / 0.7574 GB, free: 178.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.508, allocations: 186 kB / 0.7576 GB, free: 178.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008476/1.516, allocations: 5.898 MB / 0.7634 GB, free: 173 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000709/1.517, allocations: 81.58 kB / 0.7634 GB, free: 172.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.52, allocations: 4.976 MB / 0.7683 GB, free: 167.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.521, allocations: 1.285 MB / 0.7696 GB, free: 166.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002361/1.524, allocations: 1.864 MB / 0.7714 GB, free: 164.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.524, allocations: 301.1 kB / 0.7717 GB, free: 164.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/1.528, allocations: 3.297 MB / 0.7749 GB, free: 161.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/1.535, allocations: 8.767 MB / 0.7834 GB, free: 149.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.548, allocations: 13.05 MB / 0.7962 GB, free: 134 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/1.548, allocations: 63.94 kB / 0.7962 GB, free: 133.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02368/1.572, allocations: 12.82 MB / 0.8088 GB, free: 121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.572, allocations: 88 kB / 0.8089 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/1.572, allocations: 196.2 kB / 0.809 GB, free: 120.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004019/1.576, allocations: 1.314 MB / 0.8103 GB, free: 119.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/1.583, allocations: 2.164 MB / 0.8124 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0099/1.593, allocations: 7.285 MB / 0.8196 GB, free: 109.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007631/1.6, allocations: 0.4993 MB / 0.82 GB, free: 109.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.602, allocations: 0.5469 MB / 0.8206 GB, free: 108.8 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.005596/1.608, allocations: 3.449 MB / 0.8239 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.609, allocations: 0.5282 MB / 0.8245 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/1.619, allocations: 5.416 MB / 0.8297 GB, free: 99.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/1.619, allocations: 36 kB / 0.8298 GB, free: 99.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.619, allocations: 4 kB / 0.8298 GB, free: 99.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.619, allocations: 19.94 kB / 0.8298 GB, free: 99.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/1.645, allocations: 14.01 MB / 0.8435 GB, free: 85.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/1.645, allocations: 12 kB / 0.8435 GB, free: 85.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/1.648, allocations: 0.4922 MB / 0.844 GB, free: 84.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/1.653, allocations: 0.8202 MB / 0.8448 GB, free: 83.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/1.654, allocations: 72.61 kB / 0.8449 GB, free: 83.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.666, allocations: 5.335 MB / 0.8501 GB, free: 78.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/1.666, allocations: 17.91 kB / 0.8501 GB, free: 78.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/1.685, allocations: 8.302 MB / 0.8582 GB, free: 69.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.687, allocations: 0.5566 MB / 0.8587 GB, free: 69.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.688, allocations: 71.92 kB / 0.8588 GB, free: 68.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.692, allocations: 131.7 kB / 0.8589 GB, free: 68.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007116/1.692, allocations: 225.5 kB / 0.8591 GB, free: 68.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/1.693, allocations: 104 kB / 0.8592 GB, free: 68.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007317/1.7, allocations: 3.66 MB / 0.8628 GB, free: 64.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.62e-07/1.7, allocations: 0 / 0.8628 GB, free: 64.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01411/1.714, allocations: 1.605 MB / 0.8644 GB, free: 63.28 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.02032/1.735, allocations: 9.053 MB / 0.8732 GB, free: 53.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.752, allocations: 7.796 MB / 0.8808 GB, free: 46.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/1.752, allocations: 4 kB / 0.8808 GB, free: 46.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005381/1.757, allocations: 2.385 MB / 0.8832 GB, free: 43.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006066/1.763, allocations: 0.679 MB / 0.8838 GB, free: 43.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3836/2.147, allocations: 90.48 MB / 0.9722 GB, free: 140.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007093/2.154, allocations: 5.167 MB / 0.9772 GB, free: 137.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007445/2.161, allocations: 2.955 MB / 0.9801 GB, free: 134.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/2.167, allocations: 3.327 MB / 0.9834 GB, free: 131.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.734e-06/2.167, allocations: 0 / 0.9834 GB, free: 131.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/2.308, allocations: 113.8 MB / 1.095 GB, free: 18.22 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/2.309, allocations: 220.9 kB / 1.095 GB, free: 17.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.922/8.231, allocations: 0 / 1.095 GB, free: 17.97 MB / 0.545 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