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.001305/0.001305, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001695/0.001695, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.002/0.002, allocations: 63.88 kB / 378.5 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2432, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004111/0.2473, allocations: 2.62 MB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2486, allocations: 0.6584 MB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.2488, allocations: 7.938 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.249, allocations: 43.58 kB / 435.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.2492, allocations: 107.2 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.2495, allocations: 79.84 kB / 435.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.2499, allocations: 350.5 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2501, allocations: 60.89 kB / 435.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2503, allocations: 139.4 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.2505, allocations: 155.3 kB / 436.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.2505, allocations: 28 kB / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.532e-05/0.2506, allocations: 35.94 kB / 436.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.2506, allocations: 67.7 kB / 436.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2508, allocations: 119.5 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.2512, allocations: 344.8 kB / 436.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2512, allocations: 0 / 436.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2512, allocations: 0 / 436.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.2512, allocations: 0 / 436.7 MB, free: 1.668 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.001183/0.2524, allocations: 0.5623 MB / 437.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2524, allocations: 12.03 kB / 437.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.798e-05/0.2525, allocations: 4.625 kB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.2525, allocations: 58.72 kB / 437.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.2526, allocations: 32.75 kB / 437.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.253, allocations: 221.9 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.253, allocations: 16.81 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.253, allocations: 28.36 kB / 437.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.2536, allocations: 324.2 kB / 438 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2536, allocations: 0 / 438 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2537, allocations: 8 kB / 438 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2537, allocations: 4 kB / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.2543, allocations: 221.6 kB / 438.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2558, allocations: 0.8114 MB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.2564, allocations: 205.7 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.2567, allocations: 84.8 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2567, allocations: 7.938 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.2572, allocations: 251.8 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.2572, allocations: 0 / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001652/0.2588, allocations: 438.2 kB / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.2589, allocations: 140.4 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2592, allocations: 261.9 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.2592, allocations: 33.7 kB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2594, allocations: 180.2 kB / 440.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.2594, allocations: 55.56 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.2595, allocations: 41.7 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2596, allocations: 338.8 kB / 441 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2599, allocations: 113.6 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.2603, allocations: 259.9 kB / 441.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.2609, allocations: 250.2 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2609, allocations: 3.938 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009307/0.2618, allocations: 405.5 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2618, allocations: 36.3 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2618, allocations: 4 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.2622, allocations: 76.84 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2624, allocations: 39.91 kB / 442.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.2645, allocations: 1.633 MB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2648, allocations: 40.05 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2648, allocations: 19.98 kB / 443.9 MB, free: 10 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.0001525/0.2649, allocations: 144.6 kB / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.265, allocations: 27.81 kB / 444 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.265, allocations: 34.05 kB / 444.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.265, allocations: 0 / 444.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.265, allocations: 0 / 444.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.265, allocations: 0 / 444.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2653, allocations: 244.6 kB / 444.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2653, allocations: 0 / 444.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.2655, allocations: 23.97 kB / 444.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.2657, allocations: 68.8 kB / 444.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2658, allocations: 3.984 kB / 444.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.2676, allocations: 1.649 MB / 446 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2676, allocations: 4 kB / 446 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.2684, allocations: 300.7 kB / 446.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.2685, allocations: 35.67 kB / 446.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.2685, allocations: 8 kB / 446.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.2687, allocations: 31.95 kB / 446.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.2688, allocations: 19.97 kB / 446.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2688, allocations: 8 kB / 446.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.269, allocations: 193.2 kB / 446.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.269, allocations: 0 / 446.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.2693, allocations: 75.89 kB / 446.7 MB, free: 6.961 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.001104/0.2705, allocations: 0.8428 MB / 447.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.2713, allocations: 415.5 kB / 448 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2713, allocations: 384 / 448 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.2717, allocations: 234.5 kB / 448.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.2721, allocations: 48.34 kB / 448.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.2775, allocations: 3.034 MB / 451.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2776, allocations: 142.2 kB / 451.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.2777, allocations: 22.28 kB / 451.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2779, allocations: 79.41 kB / 451.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2779, allocations: 4 kB / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.3231, allocations: 7.023 MB / 458.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.05, allocations: 14.16 kB / 458.5 MB, free: 11.06 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.50801062490791] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.23086264601443 13.256485374 13.00026498 Calling exit ...