Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001791/0.001791, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002579/0.002579, allocations: 219 kB / 23 MB, free: 5.609 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.51/1.51, allocations: 230.2 MB / 256.2 MB, free: 8.707 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2407/0.2407, allocations: 46.89 MB / 359.4 MB, free: 4.914 MB / 286.1 MB " [Timeout remaining time 180] 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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002602/0.002602, allocations: 83.86 kB / 0.4941 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3833, allocations: 65.99 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01351/0.3968, allocations: 10.31 MB / 0.5687 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009476/0.4062, allocations: 3.835 MB / 0.5724 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.4081, allocations: 59.81 kB / 0.5725 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.4128, allocations: 1.974 MB / 0.5744 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.4181, allocations: 1.669 MB / 0.576 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4203, allocations: 0.6121 MB / 0.5766 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006487/0.4268, allocations: 3.361 MB / 0.5799 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.4303, allocations: 1.927 MB / 0.5818 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.4328, allocations: 1.238 MB / 0.583 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.436, allocations: 1.81 MB / 0.5848 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.437, allocations: 260 kB / 0.585 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.44, allocations: 1.049 MB / 0.586 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002524/0.4425, allocations: 1.597 MB / 0.5876 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.4458, allocations: 1.821 MB / 0.5894 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008559/0.4544, allocations: 5.812 MB / 0.595 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4544, allocations: 0 / 0.595 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4544, allocations: 0 / 0.595 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002343/0.4547, allocations: 3.938 kB / 0.595 GB, free: 15.62 MB / 446.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.0102/0.4649, allocations: 4.125 MB / 0.5991 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4649, allocations: 12.03 kB / 0.5991 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0016/0.4665, allocations: 0.6004 MB / 0.5997 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007012/0.4735, allocations: 1.808 MB / 0.6014 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/0.4784, allocations: 2.167 MB / 0.6035 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.4786, allocations: 197 kB / 0.6037 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009851/0.4796, allocations: 251.9 kB / 0.604 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.4963, allocations: 8.451 MB / 0.6122 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.4964, allocations: 39.69 kB / 0.6123 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005476/0.4969, allocations: 123.9 kB / 0.6124 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003032/0.5, allocations: 1.699 MB / 0.614 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.5153, allocations: 7.114 MB / 0.621 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04592/0.5612, allocations: 34.08 MB / 0.6543 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007874/0.5691, allocations: 3.191 MB / 0.6574 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.5712, allocations: 1.356 MB / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008423/0.5796, allocations: 4.45 MB / 0.6631 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.5797, allocations: 47.11 kB / 0.6631 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.53e-06/0.5797, allocations: 0 / 0.6631 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03143/0.6111, allocations: 11.75 MB / 0.6746 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6113, allocations: 166.9 kB / 0.6747 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/0.617, allocations: 3.734 MB / 0.6784 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.6173, allocations: 49.64 kB / 0.6784 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.6197, allocations: 2.866 MB / 0.6812 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000824/0.6205, allocations: 0.5428 MB / 0.6818 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.6223, allocations: 1.08 MB / 0.6828 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6224, allocations: 309.1 kB / 0.6831 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.6252, allocations: 1.697 MB / 0.6848 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/0.6316, allocations: 5.119 MB / 0.6898 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/0.6412, allocations: 7.42 MB / 0.697 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.6413, allocations: 32 kB / 0.697 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.014/0.6553, allocations: 6.715 MB / 0.7036 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.6554, allocations: 63.94 kB / 0.7037 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/0.6556, allocations: 120 kB / 0.7038 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.6564, allocations: 320.7 kB / 0.7041 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.6606, allocations: 1.244 MB / 0.7053 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.6637, allocations: 2.497 MB / 0.7077 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/0.6679, allocations: 291.6 kB / 0.708 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009555/0.6689, allocations: 335.9 kB / 0.7083 GB, free: 5.578 MB / 0.545 GB 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 (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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003749/0.6726, allocations: 1.787 MB / 0.7101 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000836/0.6734, allocations: 325.8 kB / 0.7104 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/0.6788, allocations: 2.367 MB / 0.7127 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.6789, allocations: 12 kB / 0.7127 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6789, allocations: 7.984 kB / 0.7127 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.6789, allocations: 3.984 kB / 0.7127 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.6919, allocations: 5.914 MB / 0.7185 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.6919, allocations: 3.938 kB / 0.7185 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/0.6928, allocations: 171.8 kB / 0.7187 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.6951, allocations: 0.7147 MB / 0.7194 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.6952, allocations: 27.98 kB / 0.7194 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006586/0.7018, allocations: 4.825 MB / 0.7241 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.7018, allocations: 3.938 kB / 0.7241 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007903/0.7097, allocations: 4.335 MB / 0.7283 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7108, allocations: 382.8 kB / 0.7287 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006711/0.7115, allocations: 16 kB / 0.7287 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.713, allocations: 83.83 kB / 0.7288 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.7133, allocations: 72.56 kB / 0.7289 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7134, allocations: 32 kB / 0.7289 GB, free: 216 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2938/1.007, allocations: 2.325 MB / 0.7312 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.11e-07/1.007, allocations: 0 / 0.7312 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004773/1.012, allocations: 0.799 MB / 0.7319 GB, free: 154.2 MB / 0.5606 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 (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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006611/1.019, allocations: 4.984 MB / 0.7368 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00575/1.024, allocations: 3.89 MB / 0.7406 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.024, allocations: 3.812 kB / 0.7406 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.026, allocations: 1.034 MB / 0.7416 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.028, allocations: 389.5 kB / 0.742 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/1.073, allocations: 37.79 MB / 0.7789 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.076, allocations: 2.779 MB / 0.7816 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003262/1.079, allocations: 1.66 MB / 0.7832 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.081, allocations: 1.522 MB / 0.7847 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.674e-06/1.081, allocations: 0 / 0.7847 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09983/1.181, allocations: 58.34 MB / 0.8417 GB, free: 47.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.3/25.48, allocations: 10.19 kB / 0.8417 GB, free: 47.75 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.40333181899041] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 25.606180803006282 25.622458733 25.164237802 Calling exit ...