Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001714/0.001714, allocations: 121 kB / 18.5 MB, free: 4.562 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.002082/0.002082, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 55.94 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 53.33 MB / 427.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004395/0.118, allocations: 2.771 MB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1196, allocations: 0.7206 MB / 430.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1197, allocations: 7.938 kB / 430.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.1199, allocations: 39.58 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1201, allocations: 95.25 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1204, allocations: 95.8 kB / 430.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.1209, allocations: 354.5 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.121, allocations: 60.7 kB / 431.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1212, allocations: 139.5 kB / 431.3 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1214, allocations: 147.4 kB / 431.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.1215, allocations: 35.92 kB / 431.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.1215, allocations: 32 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1216, allocations: 59.77 kB / 431.6 MB, free: 188 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1218, allocations: 147.2 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2276/0.3494, allocations: 316.7 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3494, allocations: 3.438 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3494, allocations: 0.625 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3494, allocations: 0.7656 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001227/0.3506, allocations: 0.6511 MB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3507, allocations: 10.06 kB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.235e-05/0.3507, allocations: 7.234 kB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.3507, allocations: 51.98 kB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.3508, allocations: 33.84 kB / 432.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.3512, allocations: 277.9 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3512, allocations: 17.16 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3512, allocations: 17.88 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.3518, allocations: 281.3 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3518, allocations: 0.9375 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.3519, allocations: 11.7 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3519, allocations: 7.719 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.3526, allocations: 241.2 kB / 433.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.354, allocations: 0.9534 MB / 434.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.3548, allocations: 232.4 kB / 434.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3551, allocations: 97.33 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3551, allocations: 1 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.3556, allocations: 188.3 kB / 435.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3556, allocations: 0 / 435.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002356/0.358, allocations: 0.6514 MB / 435.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.358, allocations: 111 kB / 435.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3583, allocations: 268.3 kB / 436.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3583, allocations: 31.2 kB / 436.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.3584, allocations: 175.5 kB / 436.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3584, allocations: 39.56 kB / 436.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.3585, allocations: 53.78 kB / 436.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.3586, allocations: 330.9 kB / 436.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3589, allocations: 98.09 kB / 436.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3593, allocations: 168.4 kB / 437 MB, free: 5.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.36, allocations: 272.1 kB / 437.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.36, allocations: 1.125 kB / 437.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001194/0.3612, allocations: 436.3 kB / 437.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.3612, allocations: 39.25 kB / 437.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3612, allocations: 2 kB / 437.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3616, allocations: 79.03 kB / 437.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.3618, allocations: 39.27 kB / 437.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.3642, allocations: 1.941 MB / 439.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.3645, allocations: 57.98 kB / 439.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3645, allocations: 12.23 kB / 439.9 MB, free: 3.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3646, allocations: 140 kB / 440 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3647, allocations: 27.02 kB / 440 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.3647, allocations: 27.03 kB / 440.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3647, allocations: 1.219 kB / 440.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3647, allocations: 2.031 kB / 440.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3647, allocations: 5.172 kB / 440.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.365, allocations: 293.5 kB / 440.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.365, allocations: 0 / 440.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3651, allocations: 26.2 kB / 440.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.3654, allocations: 84 kB / 440.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3654, allocations: 1.734 kB / 440.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.3674, allocations: 1.756 MB / 442.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3674, allocations: 0 / 442.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3686, allocations: 361.9 kB / 442.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3686, allocations: 104.9 kB / 442.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3687, allocations: 2.469 kB / 442.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3689, allocations: 34.95 kB / 442.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.369, allocations: 18.06 kB / 442.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.369, allocations: 6.766 kB / 442.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.3692, allocations: 192.2 kB / 442.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 0 / 442.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.3696, allocations: 72.27 kB / 443 MB, free: 1.816 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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.371, allocations: 0.8958 MB / 443.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.372, allocations: 401.3 kB / 444.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.372, allocations: 1.062 kB / 444.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.3725, allocations: 230.4 kB / 444.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3728, allocations: 45.34 kB / 444.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.3782, allocations: 2.946 MB / 447.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.3786, allocations: 0.7426 MB / 448.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3787, allocations: 26.11 kB / 448.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3789, allocations: 72.75 kB / 448.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3789, allocations: 0 / 448.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.4087, allocations: 6.434 MB / 454.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.32, allocations: 18.27 kB / 454.8 MB, free: 12.9 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.784507406991906] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.479313461051788 12.493795341 12.141319185 Calling exit ...