Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.000748, allocations: 99.91 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008689/0.0008688, allocations: 197.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03103/0.1565, allocations: 31.42 MB / 0.501 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2612/0.4178, allocations: 7.456 MB / 0.5083 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005259/0.4231, allocations: 147 kB / 0.5085 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005542/0.4286, allocations: 1.57 MB / 0.51 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.4415, allocations: 4.838 MB / 0.5147 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4438, allocations: 0.5073 MB / 0.5152 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005737/0.4495, allocations: 3.833 MB / 0.519 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.4554, allocations: 2.955 MB / 0.5218 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.458, allocations: 1.046 MB / 0.5229 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.4614, allocations: 1.591 MB / 0.5244 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000956/0.4624, allocations: 114.4 kB / 0.5245 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.4648, allocations: 0.7912 MB / 0.5253 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002223/0.467, allocations: 1.393 MB / 0.5267 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.4685, allocations: 0.7052 MB / 0.5273 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.4736, allocations: 4.425 MB / 0.5317 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4736, allocations: 0 / 0.5317 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4736, allocations: 2.078 kB / 0.5317 GB, free: 4.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.4739, allocations: 5.375 kB / 0.5317 GB, free: 4.5 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008373/0.4822, allocations: 3.368 MB / 0.535 GB, free: 2.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4823, allocations: 16 kB / 0.535 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00292/0.4853, allocations: 0.6038 MB / 0.5356 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009469/0.4948, allocations: 1.838 MB / 0.5374 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/0.5013, allocations: 2.079 MB / 0.5394 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.5016, allocations: 187.7 kB / 0.5396 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.5033, allocations: 253.6 kB / 0.5398 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/0.5263, allocations: 8.444 MB / 0.5481 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/0.5266, allocations: 45.72 kB / 0.5481 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/0.5281, allocations: 131.3 kB / 0.5482 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004544/0.5326, allocations: 1.698 MB / 0.5499 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.5501, allocations: 7.09 MB / 0.5568 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/0.5952, allocations: 34.13 MB / 0.5901 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.6027, allocations: 3.294 MB / 0.5934 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.6048, allocations: 1.458 MB / 0.5948 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007503/0.6123, allocations: 4.446 MB / 0.5991 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.6124, allocations: 55.05 kB / 0.5992 GB, free: 9.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 5.42e-06/0.6124, allocations: 0 / 0.5992 GB, free: 9.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03064/0.6431, allocations: 11.54 MB / 0.6104 GB, free: 13.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6432, allocations: 170.9 kB / 0.6106 GB, free: 13.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/0.6503, allocations: 3.708 MB / 0.6142 GB, free: 9.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.6507, allocations: 49.14 kB / 0.6143 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002377/0.653, allocations: 2.752 MB / 0.617 GB, free: 6.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008204/0.6539, allocations: 0.5204 MB / 0.6175 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.6545, allocations: 104 kB / 0.6176 GB, free: 6.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005851/0.6551, allocations: 0.5292 MB / 0.6181 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/0.6585, allocations: 1.682 MB / 0.6197 GB, free: 3.953 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/0.6641, allocations: 5.104 MB / 0.6247 GB, free: 13.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/0.6688, allocations: 2.87 MB / 0.6275 GB, free: 10.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.669, allocations: 32 kB / 0.6275 GB, free: 10.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01311/0.6821, allocations: 6.682 MB / 0.6341 GB, free: 3.531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.6823, allocations: 56 kB / 0.6341 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/0.6825, allocations: 124.2 kB / 0.6342 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/0.6832, allocations: 332.7 kB / 0.6346 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/0.6874, allocations: 1.252 MB / 0.6358 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.6899, allocations: 2.284 MB / 0.638 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/0.694, allocations: 297.3 kB / 0.6383 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008909/0.6949, allocations: 328 kB / 0.6386 GB, free: 14.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (664): * Single equations (assignments): 660 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003938/0.6988, allocations: 1.789 MB / 0.6404 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/0.6997, allocations: 308 kB / 0.6406 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/0.7048, allocations: 2.375 MB / 0.643 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/0.7048, allocations: 16 kB / 0.643 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7048, allocations: 4 kB / 0.643 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.7049, allocations: 7.938 kB / 0.643 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.7184, allocations: 5.933 MB / 0.6488 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.7184, allocations: 4.062 kB / 0.6488 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/0.7193, allocations: 175.8 kB / 0.649 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.7215, allocations: 0.7186 MB / 0.6497 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.7216, allocations: 20 kB / 0.6497 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/0.7283, allocations: 4.463 MB / 0.654 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.7283, allocations: 4 kB / 0.654 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007899/0.7363, allocations: 4.333 MB / 0.6583 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.7376, allocations: 372.9 kB / 0.6586 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009436/0.7385, allocations: 20 kB / 0.6586 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.7402, allocations: 71.91 kB / 0.6587 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.7405, allocations: 68.5 kB / 0.6588 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7406, allocations: 44.05 kB / 0.6588 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005378/0.746, allocations: 2.308 MB / 0.6611 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.746, allocations: 0 / 0.6611 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005598/0.7516, allocations: 0.8113 MB / 0.6619 GB, free: 6.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007638/0.7593, allocations: 4.981 MB / 0.6667 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006639/0.7659, allocations: 3.998 MB / 0.6706 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.766, allocations: 1.438 kB / 0.6706 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.7676, allocations: 1.124 MB / 0.6717 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.7709, allocations: 371.3 kB / 0.6721 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05843/0.8294, allocations: 28.07 MB / 0.6995 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004506/0.8339, allocations: 2.774 MB / 0.7022 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004476/0.8384, allocations: 1.664 MB / 0.7038 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/0.8409, allocations: 1.526 MB / 0.7053 GB, free: 6.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.841, allocations: 0 / 0.7053 GB, free: 6.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3364/1.177, allocations: 64.85 MB / 0.7687 GB, free: 159.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.178, allocations: 211.3 kB / 0.7689 GB, free: 159.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/5.072, allocations: 0 / 0.7689 GB, free: 159.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat