Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.001368/0.001368, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001431/0.001431, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001975/0.001975, allocations: 67.91 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2458, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01282/0.2587, allocations: 10.74 MB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008256/0.2669, allocations: 3.931 MB / 446.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.2688, allocations: 71.69 kB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.2736, allocations: 2.266 MB / 448.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.2788, allocations: 1.859 MB / 450.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.2806, allocations: 0.7175 MB / 451.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006769/0.2873, allocations: 4.316 MB / 455.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.2911, allocations: 2.443 MB / 458.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.294, allocations: 1.491 MB / 459.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.2981, allocations: 2.255 MB / 462 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.2994, allocations: 292 kB / 462.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3021, allocations: 0.9518 MB / 463.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002418/0.3045, allocations: 1.85 MB / 465.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002906/0.3074, allocations: 2.081 MB / 467.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.316, allocations: 6.4 MB / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.316, allocations: 0 / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.316, allocations: 0 / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002392/0.3162, allocations: 4 kB / 473.6 MB, free: 13.05 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.009866/0.3261, allocations: 4.637 MB / 478.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3261, allocations: 12.03 kB / 478.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/0.3273, allocations: 0.6912 MB / 478.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/0.3347, allocations: 1.96 MB / 480.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/0.3404, allocations: 2.623 MB / 483.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.3406, allocations: 229.6 kB / 483.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009215/0.3416, allocations: 299.8 kB / 484 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.3588, allocations: 9.655 MB / 493.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.3589, allocations: 43.67 kB / 493.7 MB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000497/0.3594, allocations: 143.8 kB / 493.9 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/0.3625, allocations: 1.923 MB / 495.8 MB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.3788, allocations: 7.641 MB / 0.4916 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04788/0.4267, allocations: 37.56 MB / 0.5283 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006724/0.4334, allocations: 2.344 MB / 0.5306 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4348, allocations: 0.7963 MB / 0.5314 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00617/0.441, allocations: 3.09 MB / 0.5344 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.441, allocations: 47.16 kB / 0.5344 GB, free: 1.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 4.458e-06/0.441, allocations: 0 / 0.5344 GB, free: 1.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.238/0.679, allocations: 9.127 MB / 0.5434 GB, free: 98.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.6791, allocations: 154 kB / 0.5435 GB, free: 98.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007222/0.6863, allocations: 3.935 MB / 0.5473 GB, free: 96.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.6866, allocations: 49.52 kB / 0.5474 GB, free: 96.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.6887, allocations: 3.209 MB / 0.5505 GB, free: 94.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.6894, allocations: 0.6304 MB / 0.5511 GB, free: 94.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.6915, allocations: 1.168 MB / 0.5523 GB, free: 93.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.6916, allocations: 301.1 kB / 0.5526 GB, free: 93.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.694, allocations: 1.568 MB / 0.5541 GB, free: 92.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/0.6978, allocations: 5.343 MB / 0.5593 GB, free: 87.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006518/0.7043, allocations: 7.521 MB / 0.5667 GB, free: 78.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/0.7045, allocations: 43 kB / 0.5667 GB, free: 78.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01007/0.7145, allocations: 6.646 MB / 0.5732 GB, free: 72.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.7147, allocations: 67.94 kB / 0.5733 GB, free: 72.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/0.7149, allocations: 132 kB / 0.5734 GB, free: 72.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.7151, allocations: 176.7 kB / 0.5735 GB, free: 71.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/0.7187, allocations: 1.381 MB / 0.5749 GB, free: 70.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/0.7189, allocations: 259 kB / 0.5751 GB, free: 70.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.7226, allocations: 291.7 kB / 0.5754 GB, free: 70.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.723, allocations: 360 kB / 0.5758 GB, free: 69.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (738): * Single equations (assignments): 735 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002605/0.7256, allocations: 1.978 MB / 0.5777 GB, free: 67.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/0.7263, allocations: 357.6 kB / 0.578 GB, free: 67.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.7271, allocations: 397.6 kB / 0.5784 GB, free: 66.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.7271, allocations: 16 kB / 0.5784 GB, free: 66.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.7271, allocations: 3 kB / 0.5784 GB, free: 66.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7272, allocations: 11.97 kB / 0.5784 GB, free: 66.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008837/0.736, allocations: 5.724 MB / 0.584 GB, free: 60.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.736, allocations: 19.94 kB / 0.5841 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.7369, allocations: 275.5 kB / 0.5843 GB, free: 60.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/0.7369, allocations: 28 kB / 0.5843 GB, free: 60.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.737, allocations: 56.52 kB / 0.5844 GB, free: 60.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/0.7371, allocations: 37.08 kB / 0.5844 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.7371, allocations: 35.88 kB / 0.5845 GB, free: 60.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.7401, allocations: 3.245 MB / 0.5876 GB, free: 57.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/0.741, allocations: 349.5 kB / 0.588 GB, free: 56.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005986/0.7416, allocations: 47.98 kB / 0.588 GB, free: 56.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.743, allocations: 59.95 kB / 0.5881 GB, free: 56.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.7431, allocations: 155.3 kB / 0.5882 GB, free: 56.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.7432, allocations: 68 kB / 0.5883 GB, free: 56.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003313/0.7465, allocations: 2.438 MB / 0.5907 GB, free: 53.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7465, allocations: 3.938 kB / 0.5907 GB, free: 53.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005114/0.7517, allocations: 0.8474 MB / 0.5915 GB, free: 53.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * 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 (142): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003627/0.7553, allocations: 3.919 MB / 0.5953 GB, free: 48.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005303/0.7606, allocations: 3.531 MB / 0.5988 GB, free: 45.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.7606, allocations: 4 kB / 0.5988 GB, free: 45.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.7614, allocations: 0.6908 MB / 0.5995 GB, free: 44.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.765, allocations: 451.1 kB / 0.5999 GB, free: 44.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05147/0.8165, allocations: 40.38 MB / 0.6393 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004051/0.8206, allocations: 3.097 MB / 0.6423 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004118/0.8247, allocations: 1.76 MB / 0.6441 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/0.8273, allocations: 1.788 MB / 0.6458 GB, free: 6.898 MB / 462.1 MB Notification: Performance of SimCode: time 1.723e-06/0.8273, allocations: 0 / 0.6458 GB, free: 6.898 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/0.9548, allocations: 60.98 MB / 0.7054 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/19.88, allocations: 10.92 kB / 0.7054 GB, free: 10.31 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.293839360121638] Failed to read output from testmodel.py, exit status != 0: ['time', 'p1.s', 'p1.v', 'p2.s', 'p2.v'] 19.99629760487005 20.019771909 19.699176056 Calling exit ...