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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.793 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.04858/0.04858, allocations: 9.245 MB / 321.7 MB, free: 9.863 MB / 254.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 63.89 kB / 447.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1259, allocations: 55.47 MB / 0.4913 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01079/0.1367, allocations: 8.358 MB / 0.4995 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.1435, allocations: 2.655 MB / 0.5021 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.1451, allocations: 43.81 kB / 0.5021 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1465, allocations: 413.2 kB / 0.5025 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.1503, allocations: 1.471 MB / 0.504 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1508, allocations: 159.7 kB / 0.5041 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.1545, allocations: 2.698 MB / 0.5068 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.1558, allocations: 0.7889 MB / 0.5075 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.1574, allocations: 0.9921 MB / 0.5085 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.1597, allocations: 1.459 MB / 0.5099 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000591/0.1603, allocations: 248 kB / 0.5102 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.162, allocations: 0.7763 MB / 0.5109 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.1635, allocations: 1.343 MB / 0.5122 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.1652, allocations: 1.191 MB / 0.5134 GB, free: 380 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2745/0.4397, allocations: 5.378 MB / 0.5186 GB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4397, allocations: 3.594 kB / 0.5186 GB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4397, allocations: 0 / 0.5186 GB, free: 11.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001958/0.4399, allocations: 0 / 0.5186 GB, free: 11.74 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.009305/0.4492, allocations: 3.616 MB / 0.5222 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4493, allocations: 13.34 kB / 0.5222 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.4503, allocations: 0.593 MB / 0.5228 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007479/0.4577, allocations: 1.862 MB / 0.5246 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.4616, allocations: 1.392 MB / 0.5259 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.4617, allocations: 163.3 kB / 0.5261 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006911/0.4624, allocations: 216 kB / 0.5263 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.4779, allocations: 8.724 MB / 0.5348 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.239e-05/0.478, allocations: 22.56 kB / 0.5349 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.4784, allocations: 101.9 kB / 0.5349 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003569/0.4819, allocations: 2.085 MB / 0.537 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.4976, allocations: 7.542 MB / 0.5443 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04357/0.5412, allocations: 25.53 MB / 0.5693 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/0.5467, allocations: 1.662 MB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.5487, allocations: 0.8828 MB / 0.5718 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.5602, allocations: 3.832 MB / 0.5755 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.5603, allocations: 44.44 kB / 0.5755 GB, free: 6.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 5.51e-06/0.5603, allocations: 6.625 kB / 0.5756 GB, free: 6.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01686/0.5771, allocations: 6.72 MB / 0.5821 GB, free: 136 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.5772, allocations: 64.41 kB / 0.5822 GB, free: 60 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/0.5825, allocations: 3.099 MB / 0.5852 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.5828, allocations: 41.7 kB / 0.5852 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.5848, allocations: 2.462 MB / 0.5876 GB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006515/0.5855, allocations: 0.5314 MB / 0.5882 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.5868, allocations: 0.8642 MB / 0.589 GB, free: 9.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5869, allocations: 305.1 kB / 0.5893 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.5895, allocations: 1.355 MB / 0.5906 GB, free: 7.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.5942, allocations: 3.808 MB / 0.5943 GB, free: 2.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007912/0.6021, allocations: 5.51 MB / 0.5997 GB, free: 12.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.758e-05/0.6022, allocations: 24 kB / 0.5997 GB, free: 12.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01203/0.6142, allocations: 5.332 MB / 0.605 GB, free: 6.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.6143, allocations: 40 kB / 0.605 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.6144, allocations: 92.81 kB / 0.6051 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.6154, allocations: 381.5 kB / 0.6054 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.6186, allocations: 0.9202 MB / 0.6063 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008194/0.6268, allocations: 8.537 MB / 0.6147 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/0.6302, allocations: 227 kB / 0.6149 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/0.6309, allocations: 256 kB / 0.6151 GB, free: 11.82 MB / 462.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.003287/0.6342, allocations: 1.702 MB / 0.6168 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/0.6347, allocations: 250.3 kB / 0.617 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.6385, allocations: 1.953 MB / 0.619 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001814/0.6387, allocations: 35.97 kB / 0.619 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.6387, allocations: 4 kB / 0.619 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.6387, allocations: 7.969 kB / 0.619 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.6502, allocations: 5.356 MB / 0.6242 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.6503, allocations: 4.438 kB / 0.6242 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.651, allocations: 179.8 kB / 0.6244 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.6515, allocations: 169.4 kB / 0.6246 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.6516, allocations: 20 kB / 0.6246 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.6565, allocations: 4.882 MB / 0.6294 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.6565, allocations: 11.88 kB / 0.6294 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/0.6625, allocations: 2.877 MB / 0.6322 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.6637, allocations: 258.2 kB / 0.6324 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.664, allocations: 23.98 kB / 0.6324 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/0.6649, allocations: 70.89 kB / 0.6325 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.6651, allocations: 81.62 kB / 0.6326 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.781e-05/0.6652, allocations: 40 kB / 0.6326 GB, free: 9.402 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0032/0.6684, allocations: 1.886 MB / 0.6345 GB, free: 7.508 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6684, allocations: 288 / 0.6345 GB, free: 7.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003591/0.672, allocations: 0.7029 MB / 0.6352 GB, free: 6.809 MB / 478.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 (102): * Single equations (assignments): 94 * 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.005414/0.6774, allocations: 3.53 MB / 0.6386 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006754/0.6842, allocations: 3.59 MB / 0.6421 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6842, allocations: 0 / 0.6421 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.686, allocations: 1.084 MB / 0.6432 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6883, allocations: 412.2 kB / 0.6436 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0499/0.7382, allocations: 30.09 MB / 0.6729 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/0.742, allocations: 2.198 MB / 0.6751 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003259/0.7452, allocations: 1.206 MB / 0.6763 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/0.7478, allocations: 1.444 MB / 0.6777 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.7478, allocations: 3.938 kB / 0.6777 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4597/1.208, allocations: 47.55 MB / 0.7241 GB, free: 187.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.86, allocations: 7.031 kB / 0.7241 GB, free: 187.2 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.69548177300021] Failed to read output from testmodel.py, exit status != 0: 16.014520125929266 16.038406868 15.594452828 Calling exit ...