Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04686/0.04686, allocations: 9.232 MB / 311.9 MB, free: 0.7617 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.Examples.SpringDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDemo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.SpringDemo,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_SpringDemo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.89 kB / 434 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.09116, allocations: 54.26 MB / 488.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01116/0.1023, allocations: 9.579 MB / 497.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.1076, allocations: 2.76 MB / 0.4889 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008462/0.1084, allocations: 35.94 kB / 0.4889 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.1092, allocations: 421.2 kB / 0.4893 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.1121, allocations: 1.467 MB / 0.4908 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.1125, allocations: 171.6 kB / 0.4909 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0029/0.1154, allocations: 2.726 MB / 0.4936 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009986/0.1164, allocations: 0.8081 MB / 0.4944 GB, free: 5.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1175, allocations: 0.9804 MB / 0.4953 GB, free: 4.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.1193, allocations: 1.522 MB / 0.4968 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.1196, allocations: 256 kB / 0.4971 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1209, allocations: 0.8738 MB / 0.4979 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.1221, allocations: 1.367 MB / 0.4993 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.1236, allocations: 1.708 MB / 0.5009 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.1293, allocations: 5.403 MB / 0.5062 GB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1293, allocations: 0 / 0.5062 GB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1293, allocations: 0 / 0.5062 GB, free: 9.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1294, allocations: 4 kB / 0.5062 GB, free: 9.609 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006594/0.136, allocations: 3.701 MB / 0.5098 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.136, allocations: 12.03 kB / 0.5098 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006784/0.1367, allocations: 0.593 MB / 0.5104 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00669/0.1434, allocations: 1.863 MB / 0.5122 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.1465, allocations: 1.441 MB / 0.5136 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1466, allocations: 168.4 kB / 0.5138 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.147, allocations: 212 kB / 0.514 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1878/0.3348, allocations: 8.668 MB / 0.5225 GB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.3349, allocations: 30.39 kB / 0.5225 GB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.3352, allocations: 106.8 kB / 0.5226 GB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/0.3386, allocations: 2.086 MB / 0.5246 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.352, allocations: 7.503 MB / 0.532 GB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02649/0.3785, allocations: 27.02 MB / 0.5584 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.3819, allocations: 2.088 MB / 0.5604 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.3831, allocations: 0.8905 MB / 0.5613 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009134/0.3922, allocations: 5.567 MB / 0.5667 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3923, allocations: 43.56 kB / 0.5667 GB, free: 11.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=119): time 3.487e-06/0.3923, allocations: 0 / 0.5667 GB, free: 11.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.01317/0.4054, allocations: 7.043 MB / 0.5736 GB, free: 4.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4055, allocations: 64.41 kB / 0.5737 GB, free: 4.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.4094, allocations: 2.944 MB / 0.5766 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.4095, allocations: 42.92 kB / 0.5766 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.4112, allocations: 2.458 MB / 0.579 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000446/0.4116, allocations: 0.5349 MB / 0.5795 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.4128, allocations: 0.8654 MB / 0.5804 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4129, allocations: 301.1 kB / 0.5806 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.4151, allocations: 1.351 MB / 0.582 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/0.4192, allocations: 3.799 MB / 0.5857 GB, free: 6.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/0.426, allocations: 5.493 MB / 0.591 GB, free: 12 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.861e-05/0.4261, allocations: 27.98 kB / 0.5911 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009442/0.4355, allocations: 5.615 MB / 0.5966 GB, free: 10.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.4356, allocations: 49.81 kB / 0.5966 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.4357, allocations: 86.16 kB / 0.5967 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.4365, allocations: 380.6 kB / 0.597 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/0.4393, allocations: 0.924 MB / 0.5979 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007726/0.447, allocations: 9.085 MB / 0.6068 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.4501, allocations: 219.8 kB / 0.607 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/0.4507, allocations: 268 kB / 0.6073 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,11,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002933/0.4536, allocations: 1.699 MB / 0.6089 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.4541, allocations: 250.3 kB / 0.6092 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.4578, allocations: 2.24 MB / 0.6114 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001748/0.4579, allocations: 43.95 kB / 0.6114 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.458, allocations: 4 kB / 0.6114 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.458, allocations: 3.984 kB / 0.6114 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.4682, allocations: 5.761 MB / 0.617 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.4682, allocations: 4 kB / 0.617 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.4689, allocations: 179.7 kB / 0.6172 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.4694, allocations: 166.9 kB / 0.6174 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/0.4694, allocations: 24 kB / 0.6174 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.4739, allocations: 5.2 MB / 0.6225 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4739, allocations: 4.281 kB / 0.6225 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/0.4784, allocations: 3.013 MB / 0.6254 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.4792, allocations: 331.4 kB / 0.6257 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.4794, allocations: 27.92 kB / 0.6258 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/0.4802, allocations: 64 kB / 0.6258 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4804, allocations: 80.84 kB / 0.6259 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.4804, allocations: 43.98 kB / 0.626 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003004/0.4835, allocations: 1.874 MB / 0.6278 GB, free: 8.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4835, allocations: 0 / 0.6278 GB, free: 8.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003419/0.4869, allocations: 0.7264 MB / 0.6285 GB, free: 8.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.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 (103): * Single equations (assignments): 95 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004883/0.4918, allocations: 3.657 MB / 0.6321 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006377/0.4981, allocations: 3.578 MB / 0.6356 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.4981, allocations: 4 kB / 0.6356 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.5, allocations: 1.084 MB / 0.6366 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.5023, allocations: 422.8 kB / 0.637 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04888/0.5511, allocations: 30.57 MB / 0.6669 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004064/0.5552, allocations: 2.75 MB / 0.6696 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003111/0.5583, allocations: 1.21 MB / 0.6707 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/0.5604, allocations: 1.437 MB / 0.6721 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.5604, allocations: 4 kB / 0.6721 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.6608, allocations: 47.14 MB / 0.7182 GB, free: 8.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.33/17.99, allocations: 9.531 kB / 0.7182 GB, free: 8.727 MB / 0.545 GB " [Timeout remaining time 642] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_SpringDemo_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_SpringDemo.fmu > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.610340249259025] Failed to read output from testmodel.py, exit status != 0: 18.105545793659985 18.29230329 18.160499142 Calling exit ...