Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 207.5 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 55.91 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2674, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004291/0.2717, allocations: 2.636 MB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2731, allocations: 0.6545 MB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2733, allocations: 7.938 kB / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2734, allocations: 39.58 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.2736, allocations: 103.2 kB / 434.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2739, allocations: 83.83 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.2744, allocations: 358.5 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2745, allocations: 60.69 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2747, allocations: 131.5 kB / 435.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2749, allocations: 135.3 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.275, allocations: 32 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.275, allocations: 28 kB / 435.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.2751, allocations: 71.7 kB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2752, allocations: 127.4 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.2756, allocations: 332.5 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2756, allocations: 0 / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2756, allocations: 0 / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2756, allocations: 3.984 kB / 435.9 MB, free: 1.645 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00114/0.2768, allocations: 0.5585 MB / 436.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2768, allocations: 11.98 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.2769, allocations: 66.59 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.277, allocations: 36.75 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.2774, allocations: 225.9 kB / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2774, allocations: 16.81 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2775, allocations: 20.38 kB / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.278, allocations: 324.4 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.278, allocations: 0 / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2781, allocations: 12 kB / 437.2 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2781, allocations: 4 kB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.2787, allocations: 221.5 kB / 437.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.2803, allocations: 0.8151 MB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.2809, allocations: 194.6 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.2812, allocations: 84.8 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2812, allocations: 0 / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.2816, allocations: 263.7 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.2816, allocations: 0 / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001566/0.2832, allocations: 430.2 kB / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2833, allocations: 136.5 kB / 439.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.2836, allocations: 277.8 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2837, allocations: 25.7 kB / 439.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.2838, allocations: 184.2 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.2839, allocations: 47.64 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.284, allocations: 53.89 kB / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2841, allocations: 330.8 kB / 440.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.2845, allocations: 122.1 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.2849, allocations: 278.6 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.2855, allocations: 263.9 kB / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2855, allocations: 0 / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009515/0.2864, allocations: 413.4 kB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.2865, allocations: 33.7 kB / 441.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2865, allocations: 7.938 kB / 441.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.2869, allocations: 76.94 kB / 441.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2871, allocations: 35.97 kB / 441.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.2895, allocations: 1.806 MB / 443.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.2898, allocations: 55.73 kB / 443.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2899, allocations: 8.062 kB / 443.3 MB, free: 9.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.29, allocations: 148.6 kB / 443.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2901, allocations: 27.8 kB / 443.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.2901, allocations: 34.05 kB / 443.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2901, allocations: 0 / 443.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2901, allocations: 0 / 443.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2901, allocations: 0 / 443.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.2904, allocations: 248.5 kB / 443.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2904, allocations: 0 / 443.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2905, allocations: 23.97 kB / 443.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.2908, allocations: 72.78 kB / 443.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.2909, allocations: 8 kB / 443.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.293, allocations: 1.791 MB / 445.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.293, allocations: 0 / 445.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.2938, allocations: 308.2 kB / 445.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.2938, allocations: 31.75 kB / 446 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.2939, allocations: 3.984 kB / 446 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.2941, allocations: 35.97 kB / 446 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.2942, allocations: 27.95 kB / 446 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2942, allocations: 7.938 kB / 446 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.2944, allocations: 185.2 kB / 446.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2944, allocations: 0 / 446.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.2948, allocations: 79.94 kB / 446.3 MB, free: 6.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.296, allocations: 0.8428 MB / 447.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009452/0.2969, allocations: 423.6 kB / 447.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2969, allocations: 0 / 447.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.2974, allocations: 233.4 kB / 447.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2977, allocations: 48.77 kB / 447.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.3036, allocations: 3.084 MB / 450.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3037, allocations: 138.2 kB / 451 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3038, allocations: 30.22 kB / 451.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.304, allocations: 79.42 kB / 451.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.304, allocations: 0 / 451.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.3452, allocations: 7.434 MB / 458.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.77, allocations: 11.84 kB / 458.6 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.141459223814309] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.914147780742496 12.939110416 12.658876029 Calling exit ...