Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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.001561/0.001561, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001802/0.001802, allocations: 217.2 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.337/1.337, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 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.1032/0.1032, allocations: 8.209 MB / 294.3 MB, free: 13.45 MB / 238.1 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.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. 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.002283/0.002283, allocations: 80.05 kB / 411.7 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.07013, allocations: 50.92 MB / 462.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001449/0.07158, allocations: 393.2 kB / 463 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.07173, allocations: 19.91 kB / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.07174, allocations: 0 / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.07175, allocations: 3.938 kB / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-06/0.07176, allocations: 0 / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.07188, allocations: 0 / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.07193, allocations: 8 kB / 463 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.07198, allocations: 3.984 kB / 463 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.072, allocations: 0 / 463 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.07205, allocations: 4 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.07207, allocations: 4 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-06/0.07208, allocations: 0 / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.07209, allocations: 0 / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.0721, allocations: 3.938 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.677e-05/0.07215, allocations: 3.984 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.07215, allocations: 0 / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07216, allocations: 3.938 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.07216, allocations: 4 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003486/0.07251, allocations: 234.5 kB / 463.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.07255, allocations: 15.98 kB / 463.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.07257, allocations: 0.9375 kB / 463.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.07266, allocations: 106.5 kB / 463.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.07267, allocations: 384 / 463.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.07269, allocations: 4.375 kB / 463.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.07277, allocations: 26.27 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.07279, allocations: 4.188 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.0728, allocations: 3.938 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.0728, allocations: 4 kB / 463.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.07282, allocations: 7.984 kB / 463.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.07306, allocations: 105.3 kB / 463.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.07311, allocations: 22.55 kB / 463.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.07312, allocations: 4.859 kB / 463.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.07313, allocations: 0 / 463.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.07316, allocations: 34.62 kB / 463.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.07316, allocations: 0 / 463.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.07328, allocations: 41.56 kB / 463.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.07333, allocations: 55.41 kB / 463.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.494e-05/0.07337, allocations: 93.98 kB / 463.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.07339, allocations: 25.7 kB / 463.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.07342, allocations: 80.14 kB / 463.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.07344, allocations: 11.89 kB / 463.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.07348, allocations: 9.719 kB / 463.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.07361, allocations: 318.8 kB / 464.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.07362, allocations: 3.938 kB / 464.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.07363, allocations: 7.922 kB / 464.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.07366, allocations: 12.86 kB / 464.2 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.07367, allocations: 64 / 464.2 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.716e-05/0.07372, allocations: 41.64 kB / 464.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.07373, allocations: 8 kB / 464.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.07374, allocations: 0 / 464.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.07375, allocations: 0 / 464.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/0.07378, allocations: 7.938 kB / 464.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.07378, allocations: 0 / 464.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.07379, allocations: 0 / 464.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.0738, allocations: 3.984 kB / 464.3 MB, free: 10.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 0.0001036/0.0739, allocations: 109.8 kB / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.07391, allocations: 4.031 kB / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.07392, allocations: 10.95 kB / 464.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.07393, allocations: 3.938 kB / 464.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.07393, allocations: 0 / 464.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.07393, allocations: 0 / 464.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.07405, allocations: 101.3 kB / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.07405, allocations: 4 kB / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.07407, allocations: 0 / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.07407, allocations: 0 / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.07408, allocations: 0 / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.07408, allocations: 0 / 464.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.07408, allocations: 11.94 kB / 464.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.07418, allocations: 65.06 kB / 464.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.07419, allocations: 0 / 464.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.0742, allocations: 0 / 464.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.07421, allocations: 4 kB / 464.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.07422, allocations: 7.969 kB / 464.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.07422, allocations: 0 / 464.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.07426, allocations: 75.28 kB / 464.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07426, allocations: 0 / 464.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.07444, allocations: 0 / 464.7 MB, free: 10.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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 9.134e-05/0.07453, allocations: 99.34 kB / 464.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.07461, allocations: 11.98 kB / 464.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.07461, allocations: 3.938 kB / 464.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.07462, allocations: 7.938 kB / 464.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.07475, allocations: 0 / 464.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.07504, allocations: 127.3 kB / 464.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.07509, allocations: 55.36 kB / 465 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.07512, allocations: 7.438 kB / 465 MB, free: 10.11 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.07512, allocations: 8.062 kB / 465 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Templates: time 0.001722/0.07684, allocations: 383.7 kB / 465.4 MB, free: 9.727 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.20496674394235] Failed to read output from testmodel.py, exit status != 0: 0.0837905709631741 0.099206766 0.023977744000000002 Calling exit ...