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.001346/0.001346, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3441, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02952/0.3737, allocations: 16.25 MB / 0.5464 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.3929, allocations: 5.343 MB / 0.5516 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005204/0.3982, allocations: 103.7 kB / 0.5517 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.4106, allocations: 4.147 MB / 0.5557 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.4222, allocations: 2.794 MB / 0.5585 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.4273, allocations: 1.26 MB / 0.5597 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01459/0.4419, allocations: 7.731 MB / 0.5672 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.4528, allocations: 5.86 MB / 0.573 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006657/0.4595, allocations: 2.671 MB / 0.5756 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007177/0.4668, allocations: 3.766 MB / 0.5793 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.4694, allocations: 0.5938 MB / 0.5798 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.4738, allocations: 1.76 MB / 0.5815 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004232/0.4781, allocations: 3.3 MB / 0.5848 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006962/0.4851, allocations: 3.806 MB / 0.5885 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.5014, allocations: 12.42 MB / 0.6006 GB, free: 9.703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5014, allocations: 0 / 0.6006 GB, free: 9.703 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.389e-06/0.5014, allocations: 3.984 kB / 0.6006 GB, free: 9.699 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004742/0.5019, allocations: 0 / 0.6006 GB, free: 9.699 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.02108/0.523, allocations: 8.159 MB / 0.6086 GB, free: 1.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5231, allocations: 15.88 kB / 0.6086 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004447/0.5275, allocations: 1.311 MB / 0.6099 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03087/0.5584, allocations: 5.751 MB / 0.6155 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.5714, allocations: 4.885 MB / 0.6203 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.5719, allocations: 402 kB / 0.6207 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.5746, allocations: 0.5542 MB / 0.6212 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04301/0.6176, allocations: 18.84 MB / 0.6396 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/0.618, allocations: 71.45 kB / 0.6397 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.62, allocations: 247.8 kB / 0.6399 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005788/0.6258, allocations: 3.424 MB / 0.6432 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03629/0.6621, allocations: 16.53 MB / 0.6594 GB, free: 12.27 MB / 0.5137 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.6364/1.299, allocations: 66.6 MB / 0.7244 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.314, allocations: 6.277 MB / 0.7306 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003776/1.318, allocations: 2.84 MB / 0.7333 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.339, allocations: 13.94 MB / 0.7469 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.339, allocations: 59.81 kB / 0.747 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.332e-06/1.339, allocations: 0 / 0.747 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07585/1.415, allocations: 25.26 MB / 0.7717 GB, free: 95.57 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.415, allocations: 184.3 kB / 0.7718 GB, free: 95.35 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006465/1.422, allocations: 5.916 MB / 0.7776 GB, free: 89.58 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005453/1.422, allocations: 77.7 kB / 0.7777 GB, free: 89.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002105/1.424, allocations: 5.178 MB / 0.7828 GB, free: 84.63 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.426, allocations: 1.341 MB / 0.7841 GB, free: 83.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/1.428, allocations: 1.884 MB / 0.7859 GB, free: 81.41 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/1.428, allocations: 301.1 kB / 0.7862 GB, free: 81.12 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/1.432, allocations: 3.296 MB / 0.7894 GB, free: 77.82 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/1.437, allocations: 8.775 MB / 0.798 GB, free: 66.45 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.45, allocations: 13.04 MB / 0.8107 GB, free: 50.93 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.45, allocations: 57.25 kB / 0.8108 GB, free: 50.87 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02201/1.472, allocations: 12.86 MB / 0.8233 GB, free: 37.97 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.472, allocations: 84 kB / 0.8234 GB, free: 37.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/1.472, allocations: 192.9 kB / 0.8236 GB, free: 37.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006582/1.479, allocations: 1.318 MB / 0.8249 GB, free: 36.38 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/1.491, allocations: 2.164 MB / 0.827 GB, free: 34.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.506, allocations: 7.842 MB / 0.8347 GB, free: 26.24 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006355/1.512, allocations: 0.5032 MB / 0.8351 GB, free: 25.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.513, allocations: 0.543 MB / 0.8357 GB, free: 25.2 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.004969/1.518, allocations: 3.459 MB / 0.8391 GB, free: 21.73 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009836/1.519, allocations: 0.5549 MB / 0.8396 GB, free: 21.17 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009854/1.529, allocations: 5.416 MB / 0.8449 GB, free: 15.69 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/1.529, allocations: 36 kB / 0.8449 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.529, allocations: 8 kB / 0.8449 GB, free: 15.65 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/1.529, allocations: 19.92 kB / 0.8449 GB, free: 15.63 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/1.557, allocations: 13.93 MB / 0.8586 GB, free: 1.477 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.557, allocations: 18.56 kB / 0.8586 GB, free: 1.461 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.559, allocations: 0.4993 MB / 0.8591 GB, free: 0.9609 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/1.562, allocations: 0.8091 MB / 0.8598 GB, free: 152 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.563, allocations: 64 kB / 0.8599 GB, free: 88 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009883/1.572, allocations: 5.819 MB / 0.8656 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.573, allocations: 15.94 kB / 0.8656 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.587, allocations: 8.335 MB / 0.8737 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.589, allocations: 0.587 MB / 0.8743 GB, free: 0.8867 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.59, allocations: 64.06 kB / 0.8744 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/1.593, allocations: 135.8 kB / 0.8745 GB, free: 0.6914 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/1.593, allocations: 221.4 kB / 0.8747 GB, free: 488 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.594, allocations: 107.7 kB / 0.8748 GB, free: 384 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007188/1.601, allocations: 3.664 MB / 0.8784 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/1.601, allocations: 4 kB / 0.8784 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008036/1.609, allocations: 1.597 MB / 0.88 GB, free: 11.14 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.01483/1.624, allocations: 9.086 MB / 0.8888 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.636, allocations: 7.855 MB / 0.8965 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.636, allocations: 0 / 0.8965 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/1.641, allocations: 2.384 MB / 0.8988 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005041/1.646, allocations: 0.724 MB / 0.8995 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1329/1.779, allocations: 73.69 MB / 0.9715 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2967/2.075, allocations: 5.152 MB / 0.9765 GB, free: 270.9 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.007111/2.082, allocations: 2.964 MB / 0.9794 GB, free: 270.8 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004775/2.087, allocations: 3.325 MB / 0.9827 GB, free: 270.5 MB / 0.6857 GB Notification: Performance of SimCode: time 6.31e-07/2.087, allocations: 0 / 0.9827 GB, free: 270.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/2.235, allocations: 110.5 MB / 1.091 GB, free: 176.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.51/25.74, allocations: 14.92 kB / 1.091 GB, free: 176.3 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv","/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