Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009483/0.0009483, allocations: 97.17 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 194 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.48 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3294/0.4609, allocations: 44.99 MB / 0.5143 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.4885, allocations: 9.752 MB / 0.5238 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0143/0.5029, allocations: 208.7 kB / 0.524 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.5131, allocations: 2.328 MB / 0.5263 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02447/0.5376, allocations: 6.903 MB / 0.533 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.5411, allocations: 0.4976 MB / 0.5335 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006775/0.5479, allocations: 4.232 MB / 0.5376 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006116/0.554, allocations: 4.439 MB / 0.542 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.5564, allocations: 1.171 MB / 0.5431 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.5591, allocations: 1.82 MB / 0.5449 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005278/0.5596, allocations: 133.1 kB / 0.545 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.5616, allocations: 0.7702 MB / 0.5458 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.5631, allocations: 1.58 MB / 0.5473 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000869/0.564, allocations: 0.7928 MB / 0.5481 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.5691, allocations: 5.235 MB / 0.5532 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5691, allocations: 0 / 0.5532 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5691, allocations: 0 / 0.5532 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000188/0.5693, allocations: 0 / 0.5532 GB, free: 13.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01482/0.5841, allocations: 4.321 MB / 0.5574 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5842, allocations: 8.031 kB / 0.5574 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00208/0.5863, allocations: 0.6927 MB / 0.5581 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006512/0.5928, allocations: 1.955 MB / 0.56 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.5977, allocations: 2.408 MB / 0.5624 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5979, allocations: 225 kB / 0.5626 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005868/0.5984, allocations: 308.9 kB / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.6168, allocations: 10.22 MB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.6169, allocations: 39.59 kB / 0.5729 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.6174, allocations: 146.7 kB / 0.573 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.6204, allocations: 1.867 MB / 0.5749 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.639, allocations: 9.17 MB / 0.5838 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05557/0.6946, allocations: 37.57 MB / 0.6205 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.7066, allocations: 3.718 MB / 0.6241 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.7092, allocations: 1.71 MB / 0.6258 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/0.7101, allocations: 0.6859 MB / 0.6265 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.7102, allocations: 43.12 kB / 0.6265 GB, free: 348 kB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.707e-06/0.7102, allocations: 0 / 0.6265 GB, free: 348 kB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04218/0.7524, allocations: 12.93 MB / 0.6391 GB, free: 3.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.7525, allocations: 153 kB / 0.6393 GB, free: 3.109 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/0.7581, allocations: 3.96 MB / 0.6432 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.7585, allocations: 49.7 kB / 0.6432 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.7607, allocations: 3.003 MB / 0.6461 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000731/0.7615, allocations: 0.5523 MB / 0.6467 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.7617, allocations: 108 kB / 0.6468 GB, free: 11.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003385/0.762, allocations: 0.5413 MB / 0.6473 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.7649, allocations: 1.916 MB / 0.6492 GB, free: 8.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/0.7703, allocations: 5.496 MB / 0.6546 GB, free: 1.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/0.775, allocations: 3.164 MB / 0.6576 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-05/0.7751, allocations: 36 kB / 0.6577 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.0148/0.7899, allocations: 7.882 MB / 0.6654 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.79, allocations: 60 kB / 0.6654 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.7901, allocations: 124 kB / 0.6655 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.7924, allocations: 0.9304 MB / 0.6665 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/0.7964, allocations: 1.283 MB / 0.6677 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.8028, allocations: 4.869 MB / 0.6725 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/0.8073, allocations: 310.3 kB / 0.6728 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008527/0.8081, allocations: 355.9 kB / 0.6731 GB, free: 14.56 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 676 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003683/0.8118, allocations: 1.994 MB / 0.675 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/0.8126, allocations: 331.7 kB / 0.6754 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/0.8178, allocations: 2.794 MB / 0.6781 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/0.8179, allocations: 16 kB / 0.6781 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8179, allocations: 8 kB / 0.6781 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.8179, allocations: 4.078 kB / 0.6781 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.8312, allocations: 7.274 MB / 0.6852 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.8313, allocations: 0 / 0.6852 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.8324, allocations: 251.6 kB / 0.6855 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.8344, allocations: 0.7221 MB / 0.6862 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.8345, allocations: 43.48 kB / 0.6862 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.8404, allocations: 4.415 MB / 0.6905 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8405, allocations: 0 / 0.6905 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.8485, allocations: 5.137 MB / 0.6955 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.85, allocations: 400.7 kB / 0.6959 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/0.8504, allocations: 16 kB / 0.6959 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.8515, allocations: 87.91 kB / 0.696 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.8518, allocations: 88.45 kB / 0.6961 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.8519, allocations: 47.97 kB / 0.6961 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00451/0.8564, allocations: 2.47 MB / 0.6986 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.074e-06/0.8564, allocations: 0 / 0.6986 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005322/0.8618, allocations: 0.9048 MB / 0.6994 GB, free: 3.324 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008092/0.8699, allocations: 5.774 MB / 0.7051 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007701/0.8776, allocations: 4.581 MB / 0.7096 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.8777, allocations: 0 / 0.7096 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.8797, allocations: 1.372 MB / 0.7109 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.8826, allocations: 415.9 kB / 0.7113 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3806/1.263, allocations: 32.54 MB / 0.7431 GB, free: 144.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/1.269, allocations: 3.104 MB / 0.7461 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00499/1.274, allocations: 1.79 MB / 0.7478 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003449/1.278, allocations: 1.786 MB / 0.7496 GB, free: 143.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.893e-06/1.278, allocations: 2.062 kB / 0.7496 GB, free: 143.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.389, allocations: 72.23 MB / 0.8201 GB, free: 78.86 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.389, allocations: 207.8 kB / 0.8203 GB, free: 78.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.96/5.35, allocations: 0 / 0.8203 GB, free: 78.62 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat