Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001256/0.001256, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001475/0.001475, allocations: 208 kB / 24.53 MB, free: 4.07 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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 60.12 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 53.41 MB / 432 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004481/0.2647, allocations: 2.811 MB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2663, allocations: 0.7166 MB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.2665, allocations: 4 kB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.2666, allocations: 43.52 kB / 435.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.2668, allocations: 99.25 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2671, allocations: 79.84 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.2675, allocations: 358.5 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2677, allocations: 56.91 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2679, allocations: 139.4 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2681, allocations: 151.3 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.2681, allocations: 32 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.2682, allocations: 32 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.2682, allocations: 63.77 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2684, allocations: 151.2 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2688, allocations: 339.4 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2688, allocations: 0 / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2688, allocations: 0 / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2688, allocations: 0 / 437.1 MB, free: 1.734 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.001115/0.2699, allocations: 0.5623 MB / 437.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2699, allocations: 8.031 kB / 437.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.212e-05/0.2699, allocations: 4.625 kB / 437.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.27, allocations: 58.73 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.2701, allocations: 32.75 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.2705, allocations: 233.8 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.2705, allocations: 20.81 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.2705, allocations: 16.38 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.2711, allocations: 243.2 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2711, allocations: 0 / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.2711, allocations: 8 kB / 438.2 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2711, allocations: 8 kB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.2717, allocations: 221.6 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2734, allocations: 0.8735 MB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.2741, allocations: 202.6 kB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.2744, allocations: 84.8 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.2744, allocations: 7.938 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.2748, allocations: 178.7 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2748, allocations: 0 / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001749/0.2766, allocations: 441.2 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2767, allocations: 136.5 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.277, allocations: 261.9 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2771, allocations: 33.7 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2772, allocations: 184.2 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.2773, allocations: 51.53 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2774, allocations: 49.7 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2775, allocations: 330.8 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.2778, allocations: 87.88 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2782, allocations: 165 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.2788, allocations: 238.2 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2788, allocations: 0 / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009356/0.2797, allocations: 371.6 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.2797, allocations: 37.89 kB / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2798, allocations: 0 / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.2801, allocations: 72.8 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2803, allocations: 43.89 kB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.2825, allocations: 1.653 MB / 443.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2828, allocations: 51.91 kB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2829, allocations: 11.98 kB / 443.9 MB, free: 10.38 MB / 350.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: 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 (20): * Single equations (assignments): 18 * 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.0001649/0.283, allocations: 140.6 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.2831, allocations: 27.81 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.2831, allocations: 30.05 kB / 444.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2831, allocations: 4 kB / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2831, allocations: 0 / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2831, allocations: 0 / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.2834, allocations: 268.5 kB / 444.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2834, allocations: 4 kB / 444.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2836, allocations: 27.91 kB / 444.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.2838, allocations: 68.8 kB / 444.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2839, allocations: 7.938 kB / 444.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.2858, allocations: 1.649 MB / 446.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2859, allocations: 4 kB / 446.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.2867, allocations: 297.6 kB / 446.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2867, allocations: 43.61 kB / 446.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2868, allocations: 0 / 446.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.287, allocations: 35.97 kB / 446.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.2871, allocations: 27.89 kB / 446.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2871, allocations: 4 kB / 446.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2873, allocations: 193.2 kB / 446.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2873, allocations: 0 / 446.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.2876, allocations: 75.89 kB / 446.8 MB, free: 7.297 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.001185/0.2888, allocations: 0.8535 MB / 447.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000912/0.2897, allocations: 385.7 kB / 448.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2897, allocations: 0 / 448.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.2902, allocations: 230.9 kB / 448.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2905, allocations: 46.91 kB / 448.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.296, allocations: 2.914 MB / 451.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.2964, allocations: 0.7558 MB / 452 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.2965, allocations: 18.3 kB / 452 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2966, allocations: 83.41 kB / 452.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2966, allocations: 0 / 452.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3283, allocations: 6.86 MB / 459 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.93, allocations: 12.17 kB / 459 MB, free: 11.08 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.345095151977148] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.097636196995154 13.112590735 12.840732061 Calling exit ...