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.001303/0.001303, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247 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.241/0.241, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01974/0.3966, allocations: 16.24 MB / 0.5465 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.4088, allocations: 5.339 MB / 0.5517 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.4119, allocations: 99.75 kB / 0.5518 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008143/0.4201, allocations: 4.154 MB / 0.5558 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007807/0.4279, allocations: 2.716 MB / 0.5585 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.4313, allocations: 1.263 MB / 0.5597 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.4433, allocations: 7.725 MB / 0.5673 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008502/0.4518, allocations: 5.856 MB / 0.573 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.4573, allocations: 2.664 MB / 0.5756 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007243/0.4645, allocations: 3.766 MB / 0.5793 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002242/0.4668, allocations: 0.5938 MB / 0.5798 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.4711, allocations: 1.748 MB / 0.5816 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004458/0.4756, allocations: 3.277 MB / 0.5848 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007251/0.4829, allocations: 3.81 MB / 0.5885 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.5004, allocations: 12.43 MB / 0.6006 GB, free: 9.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5005, allocations: 0 / 0.6006 GB, free: 9.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5005, allocations: 0 / 0.6006 GB, free: 9.738 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004444/0.5009, allocations: 0 / 0.6006 GB, free: 9.738 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.02118/0.5221, allocations: 8.159 MB / 0.6086 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5222, allocations: 16.02 kB / 0.6086 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003738/0.5259, allocations: 1.307 MB / 0.6099 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03068/0.5566, allocations: 5.755 MB / 0.6155 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5677, allocations: 4.888 MB / 0.6203 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.5681, allocations: 402 kB / 0.6207 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.5701, allocations: 0.5542 MB / 0.6212 GB, free: 4.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03867/0.6088, allocations: 18.83 MB / 0.6396 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.6091, allocations: 71.44 kB / 0.6397 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.6102, allocations: 251.7 kB / 0.6399 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005714/0.616, allocations: 3.416 MB / 0.6432 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/0.654, allocations: 16.52 MB / 0.6594 GB, free: 12.32 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.6323/1.286, allocations: 66.62 MB / 0.7244 GB, free: 120.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.302, allocations: 6.269 MB / 0.7305 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004075/1.306, allocations: 2.842 MB / 0.7333 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/1.326, allocations: 13.94 MB / 0.7469 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.326, allocations: 65.94 kB / 0.747 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.202e-06/1.326, allocations: 0 / 0.747 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07715/1.403, allocations: 25.26 MB / 0.7717 GB, free: 95.47 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/1.403, allocations: 192.1 kB / 0.7718 GB, free: 95.25 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006776/1.41, allocations: 5.913 MB / 0.7776 GB, free: 89.48 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005409/1.41, allocations: 80.33 kB / 0.7777 GB, free: 89.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.412, allocations: 5.173 MB / 0.7827 GB, free: 84.54 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.414, allocations: 1.348 MB / 0.7841 GB, free: 83.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002093/1.416, allocations: 1.874 MB / 0.7859 GB, free: 81.32 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/1.416, allocations: 305.1 kB / 0.7862 GB, free: 81.02 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/1.42, allocations: 3.296 MB / 0.7894 GB, free: 77.72 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/1.426, allocations: 8.772 MB / 0.798 GB, free: 66.36 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.438, allocations: 13.05 MB / 0.8107 GB, free: 50.84 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/1.438, allocations: 57.25 kB / 0.8108 GB, free: 50.78 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02233/1.46, allocations: 12.85 MB / 0.8233 GB, free: 37.89 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.46, allocations: 88 kB / 0.8234 GB, free: 37.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/1.461, allocations: 192.8 kB / 0.8236 GB, free: 37.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003794/1.464, allocations: 1.31 MB / 0.8249 GB, free: 36.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/1.471, allocations: 2.168 MB / 0.827 GB, free: 34.13 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.481, allocations: 7.856 MB / 0.8347 GB, free: 26.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006969/1.488, allocations: 0.4956 MB / 0.8351 GB, free: 25.65 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.49, allocations: 0.5468 MB / 0.8357 GB, free: 25.1 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.00501/1.495, allocations: 3.448 MB / 0.839 GB, free: 21.64 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009853/1.496, allocations: 0.551 MB / 0.8396 GB, free: 21.09 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/1.505, allocations: 5.424 MB / 0.8449 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/1.506, allocations: 36 kB / 0.8449 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.506, allocations: 8 kB / 0.8449 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/1.506, allocations: 23.92 kB / 0.8449 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.53, allocations: 13.93 MB / 0.8585 GB, free: 1.387 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/1.53, allocations: 12 kB / 0.8585 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.533, allocations: 0.4993 MB / 0.859 GB, free: 0.875 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/1.536, allocations: 0.8091 MB / 0.8598 GB, free: 64 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/1.536, allocations: 71.7 kB / 0.8599 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/1.547, allocations: 5.815 MB / 0.8656 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/1.547, allocations: 19.94 kB / 0.8656 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.563, allocations: 8.334 MB / 0.8737 GB, free: 1.402 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.565, allocations: 0.587 MB / 0.8743 GB, free: 0.793 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.566, allocations: 63.98 kB / 0.8744 GB, free: 0.7305 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.569, allocations: 139.7 kB / 0.8745 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/1.569, allocations: 227.1 kB / 0.8747 GB, free: 388 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.57, allocations: 99.98 kB / 0.8748 GB, free: 288 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007196/1.577, allocations: 3.663 MB / 0.8784 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.8e-07/1.577, allocations: 8 kB / 0.8784 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009233/1.586, allocations: 1.601 MB / 0.88 GB, free: 11.04 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.0175/1.604, allocations: 9.072 MB / 0.8888 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01636/1.62, allocations: 7.855 MB / 0.8965 GB, free: 9.84 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 2.32e-05/1.62, allocations: 4 kB / 0.8965 GB, free: 9.836 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.005269/1.625, allocations: 2.385 MB / 0.8988 GB, free: 7.434 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00726/1.633, allocations: 0.7258 MB / 0.8995 GB, free: 6.723 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1418/1.775, allocations: 73.7 MB / 0.9715 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2644/2.039, allocations: 5.149 MB / 0.9765 GB, free: 271.1 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.008021/2.047, allocations: 2.96 MB / 0.9794 GB, free: 271.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00509/2.052, allocations: 3.327 MB / 0.9827 GB, free: 270.7 MB / 0.6857 GB Notification: Performance of SimCode: time 1.382e-06/2.052, allocations: 0 / 0.9827 GB, free: 270.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.208, allocations: 110.5 MB / 1.091 GB, free: 176.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.25/26.46, allocations: 9.359 kB / 1.091 GB, free: 176.4 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