Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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.000759/0.000759, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007628/0.0007628, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7696/0.7696, allocations: 158.6 MB / 185 MB, free: 2.688 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02345/0.02345, allocations: 6.408 MB / 243.6 MB, free: 8.961 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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.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: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 361.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.4e-05, allocations: 2.281 kB / 361.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.001477/0.001491, allocations: 1.837 MB / 362.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002179/0.001709, allocations: 151.5 kB / 363.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.001759, allocations: 4 kB / 363.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.001804, allocations: 23.73 kB / 363.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.001863, allocations: 43.56 kB / 363.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.00198, allocations: 39.94 kB / 363.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.002075, allocations: 183.1 kB / 363.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.002197, allocations: 65.98 kB / 363.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.002259, allocations: 103.8 kB / 363.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.002321, allocations: 47.88 kB / 363.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.002345, allocations: 16 kB / 363.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.002361, allocations: 16 kB / 363.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.002381, allocations: 43.83 kB / 363.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.002413, allocations: 51.91 kB / 363.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.002532, allocations: 199.3 kB / 363.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002534, allocations: 0 / 363.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.002535, allocations: 4 kB / 363.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002539, allocations: 0 / 363.9 MB, free: 1.047 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0003058/0.002845, allocations: 377.7 kB / 364.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.002872, allocations: 11.98 kB / 364.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.002902, allocations: 16.84 kB / 364.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.193e-05/0.002954, allocations: 121.6 kB / 364.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.002966, allocations: 12.38 kB / 364.4 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.002991, allocations: 24.27 kB / 364.4 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.00314, allocations: 154.2 kB / 364.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.003151, allocations: 4.188 kB / 364.6 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.003163, allocations: 8.375 kB / 364.6 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.003168, allocations: 8.375 kB / 364.6 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.003268, allocations: 103.8 kB / 364.7 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.003841, allocations: 0.5373 MB / 365.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.004089, allocations: 138.5 kB / 365.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.004205, allocations: 84.81 kB / 365.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004215, allocations: 0 / 365.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.00423, allocations: 38.44 kB / 365.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.004231, allocations: 4 kB / 365.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005268/0.004758, allocations: 404.8 kB / 365.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.004785, allocations: 55.41 kB / 365.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.004841, allocations: 121.8 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.004851, allocations: 25.7 kB / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.004924, allocations: 136.2 kB / 366.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.004952, allocations: 55.53 kB / 366.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.004991, allocations: 45.64 kB / 366.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.005057, allocations: 330.8 kB / 366.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.005103, allocations: 35.98 kB / 366.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.005171, allocations: 95.31 kB / 366.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.005291, allocations: 148.7 kB / 366.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.005292, allocations: 4 kB / 366.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002045/0.005496, allocations: 173.5 kB / 367.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.005507, allocations: 12.16 kB / 367.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005511, allocations: 0 / 367.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005521, allocations: 4 kB / 367.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.005625, allocations: 51.91 kB / 367.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.00563, allocations: 4 kB / 367.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.005661, allocations: 4 kB / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.005668, allocations: 8 kB / 367.2 MB, free: 13.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * 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 6.077e-05/0.005729, allocations: 129.8 kB / 367.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.005744, allocations: 11.89 kB / 367.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.005767, allocations: 16.77 kB / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005769, allocations: 8 kB / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.005773, allocations: 0 / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.005777, allocations: 7.984 kB / 367.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.006108, allocations: 409.9 kB / 367.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006109, allocations: 0 / 367.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.006202, allocations: 35.98 kB / 367.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006204, allocations: 4 kB / 367.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006212, allocations: 3.984 kB / 367.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.006214, allocations: 0 / 367.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.006214, allocations: 4.078 kB / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.006411, allocations: 279.1 kB / 368.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.006421, allocations: 11.91 kB / 368.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.006433, allocations: 8 kB / 368.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.006468, allocations: 0 / 368.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.006485, allocations: 11.97 kB / 368.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006489, allocations: 4 kB / 368.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.07e-05/0.006519, allocations: 99.64 kB / 368.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006519, allocations: 3.938 kB / 368.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.006689, allocations: 32 kB / 368.2 MB, free: 12.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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 6.207e-05/0.006751, allocations: 103.2 kB / 368.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.006886, allocations: 115.8 kB / 368.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006888, allocations: 0 / 368.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.00693, allocations: 47.92 kB / 368.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007078, allocations: 11.94 kB / 368.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.007686, allocations: 463.9 kB / 369 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.007744, allocations: 107.4 kB / 369.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.007774, allocations: 16.5 kB / 369.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.007774, allocations: 4 kB / 369.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001826/0.0096, allocations: 1.676 MB / 370.8 MB, free: 9.801 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.7875651195645332] Failed to read output from testmodel.py, exit status != 0: 0.013654198497533798 0.02149505 0.017447851 Calling exit ...