Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 51.92 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2245, allocations: 52.17 MB / 423.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003943/0.2284, allocations: 2.588 MB / 426.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2296, allocations: 0.6544 MB / 427.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2297, allocations: 7.938 kB / 427.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.2298, allocations: 51.5 kB / 427.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.23, allocations: 87.25 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2303, allocations: 99.81 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.2307, allocations: 358.5 kB / 427.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2308, allocations: 56.89 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.231, allocations: 135.5 kB / 427.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2312, allocations: 127.4 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.2312, allocations: 28 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.2313, allocations: 32 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.2314, allocations: 63.7 kB / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2315, allocations: 131.4 kB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2319, allocations: 329.5 kB / 428.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2319, allocations: 0 / 428.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2319, allocations: 0 / 428.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2319, allocations: 0 / 428.6 MB, free: 9.715 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.001208/0.2331, allocations: 0.5663 MB / 429.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.2331, allocations: 8.031 kB / 429.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.2332, allocations: 32.75 kB / 429.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.2336, allocations: 226 kB / 429.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2336, allocations: 16.81 kB / 429.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.2336, allocations: 16.38 kB / 429.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.2343, allocations: 337.4 kB / 429.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2343, allocations: 4 kB / 429.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2343, allocations: 12 kB / 429.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2343, allocations: 4 kB / 429.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.2351, allocations: 245.6 kB / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.2366, allocations: 0.8049 MB / 430.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.2374, allocations: 234.5 kB / 431.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2377, allocations: 96.78 kB / 431.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2378, allocations: 0 / 431.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.2382, allocations: 233.2 kB / 431.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2382, allocations: 0 / 431.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002252/0.2405, allocations: 0.5799 MB / 432 MB, free: 6.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.2406, allocations: 106.8 kB / 432.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.2408, allocations: 253 kB / 432.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2409, allocations: 33.69 kB / 432.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.241, allocations: 184.2 kB / 432.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.241, allocations: 31.7 kB / 432.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.2411, allocations: 49.66 kB / 432.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2413, allocations: 342.8 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.2416, allocations: 121.6 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.2421, allocations: 249.5 kB / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.2427, allocations: 271.6 kB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2427, allocations: 4 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001213/0.244, allocations: 457.4 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.244, allocations: 45.58 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.244, allocations: 0 / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.2444, allocations: 72.8 kB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2446, allocations: 44.03 kB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.2473, allocations: 1.817 MB / 436 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2476, allocations: 55.86 kB / 436 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.2476, allocations: 8 kB / 436 MB, free: 1.762 MB / 334.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.0001842/0.2478, allocations: 129.8 kB / 436.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.2479, allocations: 23.86 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.2479, allocations: 25.77 kB / 436.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2479, allocations: 0 / 436.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2479, allocations: 3.938 kB / 436.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2479, allocations: 4 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2482, allocations: 201.2 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2482, allocations: 224 / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2483, allocations: 27.91 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.2486, allocations: 80.73 kB / 436.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2486, allocations: 4 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.2509, allocations: 1.629 MB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2509, allocations: 0 / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.252, allocations: 360.6 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.252, allocations: 23.8 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2521, allocations: 7.984 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2523, allocations: 27.97 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.2524, allocations: 23.97 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2524, allocations: 11.92 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.2526, allocations: 180.5 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2526, allocations: 0 / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.253, allocations: 75.89 kB / 438.9 MB, free: 14.79 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.000136/0.2531, allocations: 95.25 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.2542, allocations: 439.5 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2542, allocations: 0 / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.2547, allocations: 222.9 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.255, allocations: 39.11 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.256, allocations: 493.2 kB / 440.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2561, allocations: 138.2 kB / 440.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.2562, allocations: 23.44 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2562, allocations: 0 / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Templates: time 0.006631/0.2628, allocations: 4.205 MB / 444.5 MB, free: 9.062 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.168726685922593]