Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008771/0.0008771, allocations: 96.33 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 197.9 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 4 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3892/0.5431, allocations: 56.55 MB / 0.5256 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03623/0.5793, allocations: 12.33 MB / 0.5376 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02024/0.5996, allocations: 278.2 kB / 0.5379 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.6129, allocations: 2.938 MB / 0.5408 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03461/0.6475, allocations: 8.692 MB / 0.5492 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005455/0.653, allocations: 0.9018 MB / 0.5501 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08171/0.7347, allocations: 62.5 MB / 0.6112 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009981/0.7448, allocations: 5.54 MB / 0.6166 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.7486, allocations: 1.638 MB / 0.6182 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.7533, allocations: 2.551 MB / 0.6207 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.7542, allocations: 172 kB / 0.6208 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.7572, allocations: 1.077 MB / 0.6219 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002567/0.7598, allocations: 2.158 MB / 0.624 GB, free: 6.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.7616, allocations: 1.026 MB / 0.625 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009323/0.771, allocations: 6.897 MB / 0.6317 GB, free: 14.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.771, allocations: 0 / 0.6317 GB, free: 14.28 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.771, allocations: 0 / 0.6317 GB, free: 14.28 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003034/0.7713, allocations: 4 kB / 0.6317 GB, free: 14.28 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01454/0.7859, allocations: 5.42 MB / 0.637 GB, free: 8.785 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7859, allocations: 12.03 kB / 0.637 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002956/0.7889, allocations: 0.904 MB / 0.6379 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03233/0.8213, allocations: 6.105 MB / 0.6439 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.8319, allocations: 4.477 MB / 0.6482 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.8323, allocations: 283.3 kB / 0.6485 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.834, allocations: 387.7 kB / 0.6489 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.8582, allocations: 11.89 MB / 0.6605 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/0.8585, allocations: 63.38 kB / 0.6606 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/0.8591, allocations: 183.8 kB / 0.6607 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/0.8625, allocations: 2.14 MB / 0.6628 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.8857, allocations: 10.14 MB / 0.6727 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/1.244, allocations: 47.25 MB / 0.7189 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/1.26, allocations: 5.781 MB / 0.7245 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004379/1.264, allocations: 2.933 MB / 0.7274 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/1.278, allocations: 8.75 MB / 0.7359 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.278, allocations: 55.47 kB / 0.736 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 4.989e-06/1.278, allocations: 0 / 0.736 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.09883/1.377, allocations: 34.8 MB / 0.77 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/1.377, allocations: 213.9 kB / 0.7702 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/1.382, allocations: 4.762 MB / 0.7748 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000545/1.383, allocations: 71.73 kB / 0.7749 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.385, allocations: 3.592 MB / 0.7784 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008466/1.386, allocations: 0.9733 MB / 0.7793 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/1.386, allocations: 132 kB / 0.7795 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.386, allocations: 0.5832 MB / 0.78 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/1.39, allocations: 3.007 MB / 0.783 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/1.394, allocations: 6.817 MB / 0.7896 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/1.399, allocations: 4.415 MB / 0.7939 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-05/1.399, allocations: 40 kB / 0.794 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02122/1.421, allocations: 13.16 MB / 0.8068 GB, free: 87.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/1.421, allocations: 60 kB / 0.8069 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.421, allocations: 132.9 kB / 0.807 GB, free: 87.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009972/1.431, allocations: 4.253 MB / 0.8112 GB, free: 83.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.435, allocations: 1.408 MB / 0.8125 GB, free: 82.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/1.465, allocations: 26.38 MB / 0.8383 GB, free: 55.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005748/1.471, allocations: 396.9 kB / 0.8387 GB, free: 54.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.472, allocations: 400 kB / 0.8391 GB, free: 54.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.004063/1.476, allocations: 2.468 MB / 0.8415 GB, free: 52.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008985/1.477, allocations: 450.2 kB / 0.8419 GB, free: 51.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.491, allocations: 8.218 MB / 0.8499 GB, free: 43.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/1.491, allocations: 29.41 kB / 0.85 GB, free: 43.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-05/1.491, allocations: 15.95 kB / 0.85 GB, free: 43.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.253e-05/1.491, allocations: 11.95 kB / 0.85 GB, free: 43.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/1.52, allocations: 16.85 MB / 0.8664 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/1.52, allocations: 8 kB / 0.8664 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.522, allocations: 304.1 kB / 0.8667 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009362/1.531, allocations: 3.933 MB / 0.8706 GB, free: 22.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/1.532, allocations: 49.25 kB / 0.8706 GB, free: 22.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02962/1.561, allocations: 25.17 MB / 0.8952 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.561, allocations: 8 kB / 0.8952 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/1.584, allocations: 12.08 MB / 0.907 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.586, allocations: 0.4913 MB / 0.9075 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009419/1.587, allocations: 53.31 kB / 0.9075 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.589, allocations: 171.8 kB / 0.9077 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/1.59, allocations: 190.1 kB / 0.9079 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.59, allocations: 77.47 kB / 0.908 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005354/1.595, allocations: 3.012 MB / 0.9109 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/1.596, allocations: 0 / 0.9109 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008949/1.604, allocations: 1.413 MB / 0.9123 GB, free: 10.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.3317/1.936, allocations: 12.76 MB / 0.9247 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01605/1.952, allocations: 8.13 MB / 0.9327 GB, free: 198.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.952, allocations: 2.156 kB / 0.9327 GB, free: 198.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006969/1.959, allocations: 3.51 MB / 0.9361 GB, free: 196.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/1.963, allocations: 0.579 MB / 0.9367 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08977/2.053, allocations: 49.78 MB / 0.9853 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004667/2.058, allocations: 3.928 MB / 0.9891 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004727/2.063, allocations: 2 MB / 0.9911 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/2.065, allocations: 2.37 MB / 0.9934 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/2.065, allocations: 0 / 0.9934 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/2.245, allocations: 117.7 MB / 1.108 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/2.245, allocations: 239.4 kB / 1.109 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/7.11, allocations: 0 / 1.109 GB, free: 36.63 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat