Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001779, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 251.6 MB, free: 15.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.17 MB / 351.1 MB, free: 14.39 MB / 286.1 MB " [Timeout remaining time 180] 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.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003216/0.003216, allocations: 77.56 kB / 489.7 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1294, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01771/0.1472, allocations: 14.66 MB / 0.5535 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1588, allocations: 5 MB / 0.5584 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.1623, allocations: 103.6 kB / 0.5585 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009671/0.172, allocations: 4.151 MB / 0.5626 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007403/0.1795, allocations: 2.311 MB / 0.5648 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.1826, allocations: 1.065 MB / 0.5659 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.1938, allocations: 7.153 MB / 0.5729 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007927/0.2018, allocations: 5.131 MB / 0.5779 GB, free: 13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.2062, allocations: 2.22 MB / 0.58 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00533/0.2116, allocations: 3.053 MB / 0.583 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.2136, allocations: 496 kB / 0.5835 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.2175, allocations: 1.354 MB / 0.5848 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.2217, allocations: 2.731 MB / 0.5875 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005862/0.2276, allocations: 3.267 MB / 0.5907 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.2435, allocations: 10.15 MB / 0.6006 GB, free: 5.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2435, allocations: 0 / 0.6006 GB, free: 5.656 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.2435, allocations: 0 / 0.6006 GB, free: 5.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003968/0.2439, allocations: 0 / 0.6006 GB, free: 5.656 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: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.2597/0.5036, allocations: 7.293 MB / 0.6077 GB, free: 54.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5037, allocations: 9.938 kB / 0.6077 GB, free: 54.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/0.5058, allocations: 0.9313 MB / 0.6086 GB, free: 54.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1773/0.6831, allocations: 12.55 MB / 0.6209 GB, free: 52.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.6959, allocations: 5.094 MB / 0.6259 GB, free: 49.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.6963, allocations: 330.2 kB / 0.6262 GB, free: 49.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.6982, allocations: 445.5 kB / 0.6266 GB, free: 49.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.721, allocations: 12.96 MB / 0.6393 GB, free: 37.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002656/0.7214, allocations: 71.48 kB / 0.6393 GB, free: 37.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/0.7226, allocations: 207.8 kB / 0.6395 GB, free: 37.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/0.7266, allocations: 2.519 MB / 0.642 GB, free: 34.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/0.7473, allocations: 11.14 MB / 0.6529 GB, free: 23.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09514/0.8425, allocations: 52.19 MB / 0.7038 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02197/0.8645, allocations: 5.533 MB / 0.7092 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007416/0.872, allocations: 3.383 MB / 0.7125 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.8731, allocations: 0.6877 MB / 0.7132 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/0.8732, allocations: 56.56 kB / 0.7133 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=245): time 6.663e-06/0.8733, allocations: 0 / 0.7133 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.121/0.9943, allocations: 35.3 MB / 0.7477 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.9945, allocations: 277.2 kB / 0.748 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.005, allocations: 5.201 MB / 0.7531 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/1.006, allocations: 69.7 kB / 0.7531 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004517/1.01, allocations: 4.062 MB / 0.7571 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002348/1.013, allocations: 1.225 MB / 0.7583 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003116/1.016, allocations: 1.524 MB / 0.7598 GB, free: 8.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.016, allocations: 313 kB / 0.7601 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006396/1.022, allocations: 3.4 MB / 0.7634 GB, free: 4.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/1.034, allocations: 7.561 MB / 0.7708 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/1.053, allocations: 11.85 MB / 0.7824 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/1.053, allocations: 44 kB / 0.7824 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.03005/1.083, allocations: 12.76 MB / 0.7949 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/1.083, allocations: 70.5 kB / 0.7949 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004232/1.084, allocations: 148.2 kB / 0.7951 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007142/1.091, allocations: 2.237 MB / 0.7973 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007082/1.098, allocations: 1.716 MB / 0.7989 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/1.123, allocations: 16.41 MB / 0.815 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006142/1.13, allocations: 459.4 kB / 0.8154 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/1.131, allocations: 443.9 kB / 0.8158 GB, free: 10.76 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (906): * Single equations (assignments): 901 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005944/1.137, allocations: 2.732 MB / 0.8185 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/1.139, allocations: 0.5084 MB / 0.819 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.156, allocations: 7.291 MB / 0.8261 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.534e-05/1.156, allocations: 36.09 kB / 0.8261 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.009e-05/1.156, allocations: 11.98 kB / 0.8262 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/1.156, allocations: 19.94 kB / 0.8262 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3271/1.483, allocations: 16.09 MB / 0.8419 GB, free: 202.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/1.483, allocations: 5.938 kB / 0.8419 GB, free: 202.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/1.486, allocations: 0.4981 MB / 0.8424 GB, free: 202.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/1.492, allocations: 2.005 MB / 0.8443 GB, free: 202.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005575/1.492, allocations: 65.86 kB / 0.8444 GB, free: 202.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/1.513, allocations: 14.9 MB / 0.8589 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.513, allocations: 14.69 kB / 0.859 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.529, allocations: 11.69 MB / 0.8704 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.531, allocations: 0.5498 MB / 0.8709 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.531, allocations: 70.28 kB / 0.871 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.534, allocations: 203.3 kB / 0.8712 GB, free: 192 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005607/1.534, allocations: 204.7 kB / 0.8714 GB, free: 192 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.534, allocations: 92.36 kB / 0.8715 GB, free: 192 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003835/1.538, allocations: 3.288 MB / 0.8747 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/1.538, allocations: 0 / 0.8747 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005692/1.544, allocations: 1.461 MB / 0.8761 GB, free: 190.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,17,46.9%), (7,17,46.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01485/1.559, allocations: 12.39 MB / 0.8882 GB, free: 185.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.569, allocations: 8.464 MB / 0.8965 GB, free: 180.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.569, allocations: 4 kB / 0.8965 GB, free: 180.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/1.576, allocations: 4.108 MB / 0.9005 GB, free: 177 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/1.58, allocations: 0.689 MB / 0.9011 GB, free: 176.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08418/1.664, allocations: 68.21 MB / 0.9678 GB, free: 101.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004034/1.668, allocations: 4.287 MB / 0.9719 GB, free: 97.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004761/1.673, allocations: 2.46 MB / 0.9743 GB, free: 94.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003169/1.676, allocations: 2.71 MB / 0.977 GB, free: 92.18 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/1.676, allocations: 0.875 kB / 0.977 GB, free: 92.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4425/2.118, allocations: 111.9 MB / 1.086 GB, free: 204 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/24.32, allocations: 4.062 kB / 1.086 GB, free: 204 MB / 0.6387 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.59961888496764] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.v_rel_a[1]', 'prismatic1.s', 'prismatic1.v', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 24.47417191392742 24.491656663 24.244991155 Calling exit ...