Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001329/0.001329, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001407/0.001407, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002773/0.2143, allocations: 1.563 MB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.2147, allocations: 139.5 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.2148, allocations: 0 / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.2148, allocations: 7.922 kB / 434.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2149, allocations: 7.922 kB / 434.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2151, allocations: 31.92 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2152, allocations: 43.83 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.2153, allocations: 12 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.2154, allocations: 15.92 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.2154, allocations: 11.94 kB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2154, allocations: 0 / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.2154, allocations: 7.938 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.2155, allocations: 15.92 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2155, allocations: 15.88 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.2156, allocations: 54.36 kB / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2156, allocations: 0 / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2156, allocations: 0 / 434.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2156, allocations: 0 / 434.3 MB, free: 4.793 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004261/0.216, allocations: 294.1 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2161, allocations: 12.02 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2161, allocations: 12.89 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2163, allocations: 134.4 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2163, allocations: 8.312 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2163, allocations: 8.375 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2166, allocations: 109.6 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.2166, allocations: 192 / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.2166, allocations: 7.938 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2167, allocations: 0 / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/0.2167, allocations: 19.98 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.217, allocations: 205.4 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2172, allocations: 57.2 kB / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.2172, allocations: 33.7 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2173, allocations: 3.938 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2173, allocations: 38.56 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.2173, allocations: 4 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002342/0.2175, allocations: 77.69 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2176, allocations: 81.11 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2177, allocations: 140.4 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2177, allocations: 25.7 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.2178, allocations: 92.08 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.2178, allocations: 3.953 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2178, allocations: 17.72 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.218, allocations: 314.8 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.218, allocations: 16.12 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.2181, allocations: 35.41 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.2181, allocations: 43.36 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2181, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001457/0.2183, allocations: 77.56 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2183, allocations: 4 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2183, allocations: 3.984 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2183, allocations: 4 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.2184, allocations: 8 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.2184, allocations: 0 / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.2184, allocations: 7.953 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2184, allocations: 3.984 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.147e-05/0.2185, allocations: 117.8 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2185, allocations: 12 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.2186, allocations: 12.34 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2186, allocations: 0 / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2186, allocations: 0 / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.2186, allocations: 15.94 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2186, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.2187, allocations: 8 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.2187, allocations: 3.984 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002123/0.2189, allocations: 220.1 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002381/0.2192, allocations: 318 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.335e-05/0.2192, allocations: 15.98 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.2193, allocations: 95.27 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Backend: time 2.11e-07/0.2193, allocations: 0 / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.2197, allocations: 100 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of SimCode: time 0.00056/0.2203, allocations: 0.6001 MB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of Templates: time 0.002937/0.2232, allocations: 0.5849 MB / 438.2 MB, free: 0.5312 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.106112318993837] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.23092347400233848 0.245425041 0.026798794 Calling exit ...