Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001871/0.001871, allocations: 83.58 kB / 22 MB, free: 5.18 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.002204/0.002204, allocations: 161.8 kB / 25.25 MB, free: 3.027 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.342/1.342, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [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: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 55.92 kB / 299.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.238, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005189/0.2432, allocations: 2.397 MB / 350.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2448, allocations: 0.6863 MB / 351.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.245, allocations: 4 kB / 351.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2452, allocations: 47.56 kB / 351.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.2456, allocations: 79.27 kB / 351.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.2458, allocations: 87.88 kB / 351.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.2464, allocations: 314.5 kB / 352.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2467, allocations: 72.77 kB / 352.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.2469, allocations: 119.6 kB / 352.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2471, allocations: 111.4 kB / 352.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.2472, allocations: 24 kB / 352.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.2472, allocations: 27.94 kB / 352.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.2473, allocations: 55.84 kB / 352.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2475, allocations: 115.4 kB / 352.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.248, allocations: 285.4 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.248, allocations: 0 / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.248, allocations: 0 / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.248, allocations: 0 / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001352/0.2494, allocations: 0.4976 MB / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2494, allocations: 15.92 kB / 353.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2495, allocations: 28.8 kB / 353.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.2501, allocations: 198.1 kB / 353.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.2501, allocations: 20.88 kB / 353.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.2502, allocations: 20.38 kB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.2511, allocations: 301.4 kB / 354 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2511, allocations: 0 / 354 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.2511, allocations: 12 kB / 354 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2511, allocations: 4 kB / 354 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.2518, allocations: 193.9 kB / 354.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.2539, allocations: 0.7657 MB / 355 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.2547, allocations: 202.7 kB / 355.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.2551, allocations: 112.8 kB / 355.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.2552, allocations: 0 / 355.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.2552, allocations: 42.5 kB / 355.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.2552, allocations: 0 / 355.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002636/0.2578, allocations: 490 kB / 355.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.2579, allocations: 51.41 kB / 355.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.2582, allocations: 215 kB / 356.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.2583, allocations: 29.7 kB / 356.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2584, allocations: 172.2 kB / 356.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.2585, allocations: 55.53 kB / 356.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2586, allocations: 45.66 kB / 356.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2588, allocations: 334.8 kB / 356.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.259, allocations: 76.77 kB / 356.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.2593, allocations: 110 kB / 356.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.2598, allocations: 185.8 kB / 357.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2598, allocations: 0 / 357.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001336/0.2612, allocations: 326.2 kB / 357.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2612, allocations: 8 kB / 357.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2612, allocations: 4.031 kB / 357.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.2617, allocations: 84.73 kB / 357.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2619, allocations: 31.98 kB / 357.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.2655, allocations: 1.891 MB / 359.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.2657, allocations: 27.77 kB / 359.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2657, allocations: 8 kB / 359.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001809/0.2659, allocations: 144.1 kB / 359.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001288/0.2661, allocations: 99.02 kB / 359.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002181/0.2663, allocations: 150.1 kB / 359.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.2663, allocations: 0 / 359.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003782/0.2667, allocations: 218.2 kB / 360 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2667, allocations: 11.88 kB / 360 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2667, allocations: 8.172 kB / 360 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.705e-05/0.2668, allocations: 24.84 kB / 360.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2669, allocations: 47.92 kB / 360.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.268, allocations: 1.28 MB / 361.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2682, allocations: 15.89 kB / 361.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2682, allocations: 4 kB / 361.4 MB, free: 2.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.2683, allocations: 200.2 kB / 361.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.2684, allocations: 19.91 kB / 361.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.2684, allocations: 21.45 kB / 361.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2684, allocations: 0 / 361.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2684, allocations: 0 / 361.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2684, allocations: 0 / 361.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2696, allocations: 0.5457 MB / 362.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2696, allocations: 8 kB / 362.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2697, allocations: 19.98 kB / 362.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.27, allocations: 72.81 kB / 362.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.27, allocations: 7.984 kB / 362.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.2726, allocations: 1.785 MB / 364.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2726, allocations: 3.984 kB / 364.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.2736, allocations: 437.1 kB / 364.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.2736, allocations: 15.94 kB / 364.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2737, allocations: 4 kB / 364.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2738, allocations: 24.03 kB / 364.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.2739, allocations: 7.984 kB / 364.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2739, allocations: 8.125 kB / 364.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.274, allocations: 148.2 kB / 364.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.274, allocations: 0 / 364.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005947/0.2746, allocations: 131.6 kB / 364.9 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.2748, allocations: 95.25 kB / 364.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.276, allocations: 0.5283 MB / 365.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.276, allocations: 0 / 365.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.2763, allocations: 198.5 kB / 365.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2766, allocations: 36.61 kB / 365.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2778, allocations: 0.5008 MB / 366.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.278, allocations: 142 kB / 366.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.278, allocations: 21.62 kB / 366.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.2781, allocations: 20.5 kB / 366.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2781, allocations: 4 kB / 366.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Templates: time 0.007719/0.2858, allocations: 2.878 MB / 369.3 MB, free: 9.949 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.405069701955654] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 0.29479746299330145 0.30987268500000004 0.058702621 Calling exit ...