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.001744/0.001744, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002219/0.002219, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2845, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004199/0.2887, allocations: 2.811 MB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.29, allocations: 0.7167 MB / 434.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2902, allocations: 11.94 kB / 434.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.2903, allocations: 39.52 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.2905, allocations: 95.25 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.2908, allocations: 83.84 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.2912, allocations: 354.5 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2914, allocations: 56.91 kB / 435.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.2916, allocations: 139.4 kB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.2918, allocations: 155.3 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.2919, allocations: 32 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.2919, allocations: 28 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.292, allocations: 63.77 kB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.2922, allocations: 155.2 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.2926, allocations: 335 kB / 436.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2926, allocations: 0 / 436.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2926, allocations: 4 kB / 436.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2926, allocations: 0 / 436.3 MB, free: 1.598 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.001252/0.2939, allocations: 0.5584 MB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2939, allocations: 8.031 kB / 436.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.294, allocations: 58.73 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.2941, allocations: 36.69 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2945, allocations: 229.9 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.2945, allocations: 16.81 kB / 437.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.2946, allocations: 20.38 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.2951, allocations: 239.3 kB / 437.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2951, allocations: 0 / 437.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.2951, allocations: 12 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2952, allocations: 4 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.2958, allocations: 225.5 kB / 437.7 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.2974, allocations: 0.8735 MB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.298, allocations: 194.7 kB / 438.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2982, allocations: 84.8 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2983, allocations: 7.922 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.2987, allocations: 185.3 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2987, allocations: 0 / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001694/0.3004, allocations: 438.2 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.3005, allocations: 136.5 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3008, allocations: 257.9 kB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.3008, allocations: 37.7 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.301, allocations: 180.2 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.301, allocations: 55.52 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.3011, allocations: 45.7 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3013, allocations: 334.8 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3015, allocations: 79.94 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.3019, allocations: 169 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.3024, allocations: 238.2 kB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3024, allocations: 3.938 kB / 440.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009152/0.3033, allocations: 367.6 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.3034, allocations: 41.88 kB / 441.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3034, allocations: 0 / 441.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.3038, allocations: 76.77 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.304, allocations: 39.97 kB / 441.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.3064, allocations: 1.656 MB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.3068, allocations: 43.86 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.3068, allocations: 12.05 kB / 443.2 MB, free: 10.26 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.0002225/0.307, allocations: 140.6 kB / 443.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.3071, allocations: 27.81 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.3071, allocations: 30.05 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3071, allocations: 7.938 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3071, allocations: 0 / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3071, allocations: 0 / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.3075, allocations: 268.5 kB / 443.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3075, allocations: 4 kB / 443.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.3076, allocations: 23.97 kB / 443.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/0.3079, allocations: 68.8 kB / 443.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.308, allocations: 8.125 kB / 443.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.31, allocations: 1.652 MB / 445.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.31, allocations: 4.031 kB / 445.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3108, allocations: 305.2 kB / 445.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.3108, allocations: 35.69 kB / 445.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3109, allocations: 3.984 kB / 445.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3111, allocations: 35.97 kB / 445.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.3112, allocations: 23.89 kB / 445.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3112, allocations: 8 kB / 445.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.3114, allocations: 189.2 kB / 446 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3114, allocations: 0 / 446 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.3118, allocations: 75.89 kB / 446 MB, free: 7.176 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.001119/0.3129, allocations: 0.8394 MB / 446.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009101/0.3138, allocations: 385.8 kB / 447.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3138, allocations: 0 / 447.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.3142, allocations: 234.9 kB / 447.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3146, allocations: 56.11 kB / 447.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/0.32, allocations: 2.914 MB / 450.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3205, allocations: 0.748 MB / 451.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3206, allocations: 22.28 kB / 451.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3208, allocations: 87.39 kB / 451.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3208, allocations: 0 / 451.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.3596, allocations: 6.831 MB / 458.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.72, allocations: 7.734 kB / 458.1 MB, free: 10.98 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.217318848001014] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.835542763001285 12.859259917 12.56186453 Calling exit ...