Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001292/0.001292, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2567/0.2567, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002292, allocations: 85.58 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1332, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01905/0.1523, allocations: 16.24 MB / 496.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1649, allocations: 5.361 MB / 0.49 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.1678, allocations: 95.75 kB / 0.4901 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008883/0.1767, allocations: 4.154 MB / 0.4942 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007786/0.1846, allocations: 2.708 MB / 0.4968 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.1882, allocations: 1.267 MB / 0.4981 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2797/0.4679, allocations: 7.712 MB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009283/0.4773, allocations: 5.847 MB / 0.5113 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.4831, allocations: 2.663 MB / 0.5139 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00786/0.491, allocations: 3.769 MB / 0.5176 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003419/0.4945, allocations: 0.5932 MB / 0.5182 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005808/0.5003, allocations: 1.75 MB / 0.5199 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005439/0.5058, allocations: 3.282 MB / 0.5231 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007444/0.5133, allocations: 3.808 MB / 0.5268 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.5293, allocations: 11.96 MB / 0.5385 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5293, allocations: 0 / 0.5385 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5293, allocations: 0 / 0.5385 GB, free: 3.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004645/0.5298, allocations: 3.75 kB / 0.5385 GB, free: 3.016 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.02018/0.55, allocations: 7.958 MB / 0.5463 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5501, allocations: 9.594 kB / 0.5463 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003324/0.5534, allocations: 1.307 MB / 0.5475 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03087/0.5843, allocations: 5.698 MB / 0.5531 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.597, allocations: 4.824 MB / 0.5578 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006033/0.5976, allocations: 402.1 kB / 0.5582 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003146/0.6008, allocations: 0.5562 MB / 0.5587 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/0.6387, allocations: 18.83 MB / 0.5771 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.639, allocations: 69.62 kB / 0.5772 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008462/0.6398, allocations: 246.8 kB / 0.5774 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005452/0.6453, allocations: 3.434 MB / 0.5808 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03842/0.6837, allocations: 16.51 MB / 0.5969 GB, free: 10.68 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.09944/0.7832, allocations: 66.8 MB / 0.6622 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/0.8008, allocations: 6.274 MB / 0.6683 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/0.8059, allocations: 2.83 MB / 0.671 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0297/0.8356, allocations: 13.92 MB / 0.6846 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/0.8357, allocations: 67.2 kB / 0.6847 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 8.295e-06/0.8358, allocations: 0 / 0.6847 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.09352/0.9293, allocations: 24.88 MB / 0.709 GB, free: 6.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.9294, allocations: 187 kB / 0.7092 GB, free: 5.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2166/1.146, allocations: 5.894 MB / 0.7149 GB, free: 187.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006427/1.147, allocations: 74.95 kB / 0.715 GB, free: 187.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003916/1.151, allocations: 4.983 MB / 0.7199 GB, free: 185.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.152, allocations: 1.286 MB / 0.7211 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003285/1.156, allocations: 1.864 MB / 0.7229 GB, free: 183.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/1.156, allocations: 301.8 kB / 0.7232 GB, free: 183.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/1.161, allocations: 3.298 MB / 0.7265 GB, free: 182 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008627/1.169, allocations: 8.767 MB / 0.735 GB, free: 173.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/1.185, allocations: 13.05 MB / 0.7478 GB, free: 162.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003455/1.186, allocations: 53.78 kB / 0.7478 GB, free: 162.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02821/1.214, allocations: 12.82 MB / 0.7603 GB, free: 157.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003988/1.214, allocations: 91.03 kB / 0.7604 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004492/1.215, allocations: 193.4 kB / 0.7606 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/1.219, allocations: 1.323 MB / 0.7619 GB, free: 157.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/1.227, allocations: 2.163 MB / 0.764 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.239, allocations: 7.852 MB / 0.7717 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008452/1.248, allocations: 0.5011 MB / 0.7722 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/1.25, allocations: 0.5482 MB / 0.7727 GB, free: 152.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.007498/1.257, allocations: 3.443 MB / 0.7761 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.259, allocations: 0.5321 MB / 0.7766 GB, free: 148.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.271, allocations: 5.416 MB / 0.7819 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/1.272, allocations: 37.02 kB / 0.7819 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/1.272, allocations: 8 kB / 0.7819 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/1.272, allocations: 15.05 kB / 0.7819 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03267/1.304, allocations: 14.01 MB / 0.7956 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/1.304, allocations: 12 kB / 0.7956 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.307, allocations: 0.4953 MB / 0.7961 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/1.31, allocations: 0.8173 MB / 0.7969 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005585/1.31, allocations: 64 kB / 0.797 GB, free: 130.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008484/1.319, allocations: 5.817 MB / 0.8026 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.319, allocations: 15.94 kB / 0.8027 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.333, allocations: 8.313 MB / 0.8108 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.335, allocations: 0.5605 MB / 0.8113 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.336, allocations: 67.94 kB / 0.8114 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/1.34, allocations: 135.9 kB / 0.8115 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007817/1.34, allocations: 216.6 kB / 0.8117 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/1.341, allocations: 104 kB / 0.8118 GB, free: 114.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007372/1.348, allocations: 3.663 MB / 0.8154 GB, free: 110.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.12e-07/1.348, allocations: 0 / 0.8154 GB, free: 110.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009641/1.358, allocations: 1.601 MB / 0.817 GB, free: 109.3 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.0146/1.373, allocations: 9.056 MB / 0.8258 GB, free: 99.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.391, allocations: 11.22 MB / 0.8368 GB, free: 88.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.391, allocations: 4 kB / 0.8368 GB, free: 88.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/1.395, allocations: 2.379 MB / 0.8391 GB, free: 86.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005519/1.4, allocations: 0.721 MB / 0.8398 GB, free: 85.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/1.536, allocations: 87.21 MB / 0.925 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2474/1.783, allocations: 5.15 MB / 0.93 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0102/1.794, allocations: 2.968 MB / 0.9329 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006674/1.8, allocations: 3.326 MB / 0.9361 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.853e-06/1.8, allocations: 0 / 0.9361 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1846/1.985, allocations: 116.2 MB / 1.05 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/15.32, allocations: 13.75 kB / 1.05 GB, free: 103.2 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)