Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3526/0.3526, allocations: 38.04 MB / 308.4 MB, free: 10.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005551, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1117, allocations: 57.51 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004013/0.1158, allocations: 3.523 MB / 437.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1181, allocations: 1.056 MB / 438.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.1186, allocations: 11.94 kB / 438.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.119, allocations: 67.41 kB / 438.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.1196, allocations: 174.5 kB / 438.8 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.1202, allocations: 143.8 kB / 438.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.1211, allocations: 0.716 MB / 439.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.1215, allocations: 186.9 kB / 439.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.1219, allocations: 255 kB / 440.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.1224, allocations: 294.7 kB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.1225, allocations: 32 kB / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1227, allocations: 51.98 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1228, allocations: 111.5 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1229, allocations: 145.3 kB / 440.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1234, allocations: 0.5455 MB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1235, allocations: 0 / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1235, allocations: 0 / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.1235, allocations: 4 kB / 441.2 MB, free: 14.23 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001615/0.1251, allocations: 0.9157 MB / 442.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1252, allocations: 8.031 kB / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1253, allocations: 83.11 kB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.1258, allocations: 376.8 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.1259, allocations: 45.31 kB / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.126, allocations: 75.8 kB / 442.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1272, allocations: 0.6304 MB / 443.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.1272, allocations: 11.84 kB / 443.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.1273, allocations: 28 kB / 443.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1273, allocations: 16 kB / 443.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1284, allocations: 0.5723 MB / 444 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1313, allocations: 2.169 MB / 446.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1324, allocations: 0.7188 MB / 446.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.133, allocations: 359.5 kB / 447.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.1332, allocations: 97.84 kB / 447.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.1332, allocations: 54.92 kB / 447.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.1332, allocations: 0 / 447.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007593/0.1408, allocations: 4.613 MB / 452 MB, free: 2.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.141, allocations: 222.1 kB / 452.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.1413, allocations: 354 kB / 452.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.1414, allocations: 49.69 kB / 452.6 MB, free: 2.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1416, allocations: 268.9 kB / 452.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.1419, allocations: 414 kB / 453.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.1419, allocations: 24 kB / 453.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1421, allocations: 382.8 kB / 453.7 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.1427, allocations: 330.4 kB / 454 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.1434, allocations: 0.5166 MB / 454.5 MB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1999/0.3434, allocations: 395.3 kB / 454.9 MB, free: 49.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3434, allocations: 0 / 454.9 MB, free: 49.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001578/0.345, allocations: 1.031 MB / 455.9 MB, free: 49.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.345, allocations: 9.781 kB / 455.9 MB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.345, allocations: 5.969 kB / 455.9 MB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3451, allocations: 15.81 kB / 455.9 MB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.3459, allocations: 291 kB / 456.2 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.346, allocations: 10.25 kB / 456.2 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.3464, allocations: 59.52 kB / 456.3 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.3465, allocations: 43.06 kB / 456.3 MB, free: 49.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.3468, allocations: 234.5 kB / 456.6 MB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.3469, allocations: 73.64 kB / 456.6 MB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.3474, allocations: 220.9 kB / 456.9 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.3474, allocations: 19.28 kB / 456.9 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.3474, allocations: 6.906 kB / 456.9 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3474, allocations: 7.031 kB / 456.9 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.3504, allocations: 2.379 MB / 459.3 MB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3504, allocations: 3.344 kB / 459.3 MB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.3513, allocations: 257.6 kB / 459.5 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.3513, allocations: 10.53 kB / 459.5 MB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.3514, allocations: 32.5 kB / 459.6 MB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3514, allocations: 13.47 kB / 459.6 MB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3514, allocations: 3.219 kB / 459.6 MB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3534, allocations: 1.949 MB / 461.5 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.3536, allocations: 203.9 kB / 461.7 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.3537, allocations: 22.28 kB / 461.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.3542, allocations: 55.52 kB / 461.8 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.3544, allocations: 86.56 kB / 461.9 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.3544, allocations: 37.58 kB / 461.9 MB, free: 47.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3547, allocations: 245.4 kB / 462.2 MB, free: 47.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3547, allocations: 7.344 kB / 462.2 MB, free: 47.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.3555, allocations: 195.7 kB / 462.4 MB, free: 47.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.3556, allocations: 138.2 kB / 462.5 MB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.357, allocations: 0.8721 MB / 463.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.357, allocations: 0 / 463.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.3576, allocations: 0.5044 MB / 463.9 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3587, allocations: 125.8 kB / 464 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.3618, allocations: 2.664 MB / 466.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3622, allocations: 0.9486 MB / 467.6 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.3626, allocations: 96.95 kB / 467.7 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3628, allocations: 62.69 kB / 467.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3628, allocations: 0 / 467.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of Templates: time 0.0091/0.3719, allocations: 6.428 MB / 474.2 MB, free: 44.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1) Environment - environmentSimulation: