Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001849/0.001849, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002275/0.002275, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.785 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2244, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004405/0.2288, allocations: 2.603 MB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2301, allocations: 0.6817 MB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.2302, allocations: 7.938 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2304, allocations: 47.58 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.2306, allocations: 95.23 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.2309, allocations: 95.83 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.2313, allocations: 346.6 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.2314, allocations: 64.89 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2316, allocations: 139.4 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2318, allocations: 151.4 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.2319, allocations: 32 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-05/0.2319, allocations: 28 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.232, allocations: 67.7 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2321, allocations: 123.4 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.2325, allocations: 325.5 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2325, allocations: 0 / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2325, allocations: 0 / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2325, allocations: 0 / 437.1 MB, free: 1.906 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001311/0.2339, allocations: 0.578 MB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2339, allocations: 11.97 kB / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.234, allocations: 32.75 kB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.2344, allocations: 225.9 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.2344, allocations: 28.73 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.2344, allocations: 20.38 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.2352, allocations: 325.5 kB / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2352, allocations: 0 / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2352, allocations: 8 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2352, allocations: 8 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.236, allocations: 241.5 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.2376, allocations: 0.8049 MB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.2385, allocations: 234.6 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.2388, allocations: 100.7 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2388, allocations: 4 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.2393, allocations: 228.5 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.397e-06/0.2393, allocations: 7.984 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002462/0.2418, allocations: 0.5721 MB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/0.2419, allocations: 106.8 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.2422, allocations: 269 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.2422, allocations: 29.69 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.2424, allocations: 184.2 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.2424, allocations: 43.64 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.2425, allocations: 45.92 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2427, allocations: 330.8 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.2431, allocations: 133.5 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.2436, allocations: 271.2 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.2443, allocations: 282.1 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2443, allocations: 0 / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001337/0.2457, allocations: 479.9 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.2457, allocations: 37.64 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2457, allocations: 0 / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.2461, allocations: 84.86 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.2464, allocations: 43.91 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.2494, allocations: 1.871 MB / 444.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.2497, allocations: 51.78 kB / 444.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2498, allocations: 8 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001621/0.2499, allocations: 139.8 kB / 444.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.25, allocations: 23.86 kB / 444.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.25, allocations: 29.83 kB / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.25, allocations: 0 / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.25, allocations: 0 / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.2501, allocations: 31.78 kB / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.2501, allocations: 0 / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2504, allocations: 31.97 kB / 445 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.2505, allocations: 23.95 kB / 445 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/0.2519, allocations: 437.5 kB / 445.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001145/0.253, allocations: 0.4976 MB / 446 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003336/0.2533, allocations: 95.97 kB / 446.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2535, allocations: 184.5 kB / 446.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Backend: time 3.3e-07/0.2535, allocations: 0 / 446.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2549, allocations: 498.4 kB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of SimCode: time 0.001078/0.256, allocations: 0.9106 MB / 447.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of Templates: time 0.008831/0.2648, allocations: 4.414 MB / 452.1 MB, free: 2.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.348023988000932] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 0.27274508499976946 0.28749943999999994 0.051805877999999944 Calling exit ...