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.001374/0.001374, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.08 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3864, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01674/0.4032, allocations: 16.24 MB / 0.5464 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.4151, allocations: 5.343 MB / 0.5516 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/0.4185, allocations: 99.75 kB / 0.5517 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007651/0.4262, allocations: 4.154 MB / 0.5557 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009306/0.4355, allocations: 2.716 MB / 0.5584 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.4389, allocations: 1.263 MB / 0.5596 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.4509, allocations: 7.726 MB / 0.5672 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007155/0.4581, allocations: 5.856 MB / 0.5729 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004931/0.463, allocations: 2.667 MB / 0.5755 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.4686, allocations: 3.774 MB / 0.5792 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.4705, allocations: 0.5938 MB / 0.5797 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.4744, allocations: 1.748 MB / 0.5815 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003603/0.4781, allocations: 3.308 MB / 0.5847 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006254/0.4843, allocations: 3.802 MB / 0.5884 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.501, allocations: 12.38 MB / 0.6005 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.5011, allocations: 0 / 0.6005 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5011, allocations: 0 / 0.6005 GB, free: 9.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004711/0.5016, allocations: 0 / 0.6005 GB, free: 9.82 MB / 462.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.02471/0.5263, allocations: 7.953 MB / 0.6083 GB, free: 1.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5264, allocations: 12.03 kB / 0.6083 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004124/0.5305, allocations: 1.299 MB / 0.6095 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03106/0.5616, allocations: 5.708 MB / 0.6151 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.5746, allocations: 4.885 MB / 0.6199 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/0.5751, allocations: 398 kB / 0.6203 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/0.578, allocations: 0.5542 MB / 0.6208 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/0.617, allocations: 18.83 MB / 0.6392 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003258/0.6174, allocations: 75.36 kB / 0.6393 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001967/0.6194, allocations: 247.8 kB / 0.6395 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005352/0.6248, allocations: 3.428 MB / 0.6428 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03747/0.6623, allocations: 16.53 MB / 0.659 GB, free: 12.67 MB / 0.5138 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 preOpt removeSimpleEquations (simulation): time 0.6552/1.318, allocations: 66.47 MB / 0.7239 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/1.334, allocations: 6.278 MB / 0.73 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/1.338, allocations: 2.844 MB / 0.7328 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/1.357, allocations: 13.91 MB / 0.7464 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.357, allocations: 69.16 kB / 0.7464 GB, free: 113 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 4.969e-06/1.358, allocations: 0 / 0.7464 GB, free: 113 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07792/1.435, allocations: 24.89 MB / 0.7708 GB, free: 95.85 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/1.436, allocations: 188.3 kB / 0.7709 GB, free: 95.62 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007445/1.443, allocations: 5.897 MB / 0.7767 GB, free: 89.75 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006648/1.444, allocations: 77.53 kB / 0.7768 GB, free: 89.68 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.446, allocations: 4.977 MB / 0.7816 GB, free: 84.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.447, allocations: 1.285 MB / 0.7829 GB, free: 83.42 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/1.449, allocations: 1.865 MB / 0.7847 GB, free: 81.55 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/1.449, allocations: 303.5 kB / 0.785 GB, free: 81.25 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/1.454, allocations: 3.294 MB / 0.7882 GB, free: 77.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/1.461, allocations: 8.767 MB / 0.7968 GB, free: 66.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/1.474, allocations: 13.06 MB / 0.8095 GB, free: 51.07 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/1.474, allocations: 52 kB / 0.8096 GB, free: 51.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02101/1.495, allocations: 12.83 MB / 0.8221 GB, free: 38.15 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.495, allocations: 88 kB / 0.8222 GB, free: 38.06 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/1.495, allocations: 192 kB / 0.8224 GB, free: 37.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/1.499, allocations: 1.314 MB / 0.8237 GB, free: 36.56 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/1.506, allocations: 2.164 MB / 0.8258 GB, free: 34.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.516, allocations: 7.839 MB / 0.8334 GB, free: 26.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007498/1.524, allocations: 0.4994 MB / 0.8339 GB, free: 25.92 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.525, allocations: 0.5467 MB / 0.8344 GB, free: 25.38 MB / 0.5607 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.006671/1.532, allocations: 3.453 MB / 0.8378 GB, free: 21.91 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.533, allocations: 0.5244 MB / 0.8383 GB, free: 21.38 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.544, allocations: 5.418 MB / 0.8436 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/1.544, allocations: 39.98 kB / 0.8437 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/1.544, allocations: 8 kB / 0.8437 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/1.544, allocations: 15.94 kB / 0.8437 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.572, allocations: 13.92 MB / 0.8573 GB, free: 1.699 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/1.572, allocations: 15.94 kB / 0.8573 GB, free: 1.684 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.574, allocations: 0.4921 MB / 0.8578 GB, free: 1.191 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/1.577, allocations: 0.813 MB / 0.8586 GB, free: 384 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/1.577, allocations: 75.73 kB / 0.8586 GB, free: 312 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.588, allocations: 5.81 MB / 0.8643 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-05/1.588, allocations: 19.94 kB / 0.8643 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.606, allocations: 8.299 MB / 0.8724 GB, free: 1.746 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.607, allocations: 0.5644 MB / 0.873 GB, free: 1.156 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.609, allocations: 63.75 kB / 0.873 GB, free: 1.098 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.612, allocations: 131.9 kB / 0.8732 GB, free: 0.9688 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/1.612, allocations: 225.4 kB / 0.8734 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/1.613, allocations: 104 kB / 0.8735 GB, free: 0.6484 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007958/1.621, allocations: 3.663 MB / 0.8771 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/1.621, allocations: 0 / 0.8771 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01032/1.631, allocations: 1.609 MB / 0.8786 GB, free: 11.42 MB / 0.5919 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.01702/1.648, allocations: 9.045 MB / 0.8875 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.662, allocations: 7.849 MB / 0.8951 GB, free: 10.26 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.662, allocations: 8.188 kB / 0.8951 GB, free: 10.25 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.667, allocations: 2.384 MB / 0.8975 GB, free: 7.852 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/1.673, allocations: 0.7198 MB / 0.8982 GB, free: 7.145 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1582/1.831, allocations: 73.4 MB / 0.9699 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.312/2.143, allocations: 5.157 MB / 0.9749 GB, free: 270.3 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.009589/2.152, allocations: 2.959 MB / 0.9778 GB, free: 270.3 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004894/2.157, allocations: 3.324 MB / 0.981 GB, free: 270.2 MB / 0.6857 GB Notification: Performance of SimCode: time 1.122e-06/2.157, allocations: 3.812 kB / 0.981 GB, free: 270.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/2.315, allocations: 112.1 MB / 1.091 GB, free: 175.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/26.5, allocations: 6.234 kB / 1.091 GB, free: 175.1 MB / 0.6857 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