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.0008723/0.0008723, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001425/0.001425, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8862/0.8862, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.533e-06/1.533e-06, allocations: 0 / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.003e-05, allocations: 2.281 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002612/0.002632, allocations: 2.628 MB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.003465, allocations: 0.6738 MB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.00357, allocations: 7.938 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.003689, allocations: 47.56 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003826, allocations: 95.19 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.004032, allocations: 83.83 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.004319, allocations: 378.1 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004459, allocations: 56.84 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.004617, allocations: 203.5 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004739, allocations: 111.6 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.004775, allocations: 28 kB / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.896e-05/0.004804, allocations: 32 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.004849, allocations: 67.73 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.00493, allocations: 103.7 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.005194, allocations: 342.9 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005197, allocations: 0 / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005198, allocations: 0 / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005203, allocations: 0 / 329.4 MB, free: 10.97 MB / 298.7 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.0007533/0.005957, allocations: 0.5624 MB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.006, allocations: 11.98 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.006043, allocations: 54.73 kB / 330 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.006093, allocations: 32.75 kB / 330.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.006389, allocations: 229.2 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.006405, allocations: 16.88 kB / 330.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.00643, allocations: 20.38 kB / 330.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.006791, allocations: 317.7 kB / 330.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.0068, allocations: 192 / 330.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.00682, allocations: 16.12 kB / 330.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.006826, allocations: 4 kB / 330.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.00716, allocations: 217.8 kB / 330.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.008108, allocations: 0.8083 MB / 331.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.008479, allocations: 206.5 kB / 331.9 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.008615, allocations: 84.8 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.008635, allocations: 4 kB / 332 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.00892, allocations: 263 kB / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.008921, allocations: 0 / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008929/0.009814, allocations: 425.9 kB / 332.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.009875, allocations: 132.5 kB / 332.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01008, allocations: 277.7 kB / 333 MB, free: 7.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.0101, allocations: 29.7 kB / 333.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.01018, allocations: 184.2 kB / 333.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.01021, allocations: 47.64 kB / 333.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.01027, allocations: 53.89 kB / 333.3 MB, free: 6.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.01036, allocations: 334.8 kB / 333.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01053, allocations: 114.1 kB / 333.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.01075, allocations: 286 kB / 334 MB, free: 5.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.01106, allocations: 260.1 kB / 334.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01107, allocations: 0 / 334.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005363/0.0116, allocations: 413.5 kB / 334.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.01163, allocations: 33.7 kB / 334.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01164, allocations: 4 kB / 334.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/0.01188, allocations: 80.81 kB / 334.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.01199, allocations: 39.91 kB / 334.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.01343, allocations: 1.806 MB / 336.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01359, allocations: 59.73 kB / 336.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01361, allocations: 8 kB / 336.7 MB, free: 3.074 MB / 298.7 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.0001004/0.01371, allocations: 137.9 kB / 336.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.01373, allocations: 23.86 kB / 336.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.01376, allocations: 37.98 kB / 336.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01376, allocations: 0 / 336.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01376, allocations: 0 / 336.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01376, allocations: 0 / 336.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.01393, allocations: 244.5 kB / 337.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01393, allocations: 0 / 337.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.014, allocations: 27.91 kB / 337.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.01416, allocations: 76.78 kB / 337.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01417, allocations: 7.938 kB / 337.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.01538, allocations: 1.791 MB / 339.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01538, allocations: 3.938 kB / 339.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.0158, allocations: 301.6 kB / 339.4 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.01583, allocations: 27.75 kB / 339.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01585, allocations: 7.984 kB / 339.4 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01596, allocations: 31.97 kB / 339.4 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.01602, allocations: 23.95 kB / 339.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01603, allocations: 8 kB / 339.5 MB, free: 156 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.01617, allocations: 193.2 kB / 339.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 4 kB / 339.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01644, allocations: 75.89 kB / 339.7 MB, free: 15.89 MB / 314.7 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.0006602/0.0171, allocations: 0.8459 MB / 340.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.01764, allocations: 419.8 kB / 341 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01764, allocations: 4.125 kB / 341 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.01786, allocations: 226.5 kB / 341.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01809, allocations: 44.47 kB / 341.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.02128, allocations: 3.089 MB / 344.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02138, allocations: 138.2 kB / 344.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.282e-05/0.02146, allocations: 26.28 kB / 344.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.02155, allocations: 84.47 kB / 344.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02156, allocations: 0 / 344.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.04363, allocations: 7.57 MB / 352.2 MB, free: 3.348 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.68, allocations: 7.328 kB / 352.2 MB, free: 3.344 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.315893590450287] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.770319701172411 7.779133962 7.772373022 Calling exit ...