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.0008973/0.0008973, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009273/0.0009273, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9334/0.9334, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] 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.SchmittTrigger,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.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.569e-05, allocations: 2.312 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002574/0.00259, allocations: 2.763 MB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.003535, allocations: 0.7126 MB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.003634, allocations: 4 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003769, allocations: 43.58 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.003969, allocations: 99.12 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.004192, allocations: 103.8 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.004457, allocations: 366.3 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004568, allocations: 62.86 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.004736, allocations: 191.6 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.00487, allocations: 115.6 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.004909, allocations: 28 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.004938, allocations: 28 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.004984, allocations: 67.75 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.005065, allocations: 107.7 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.005262, allocations: 215.2 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005263, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.005264, allocations: 3.938 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.005267, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 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.0006118/0.005879, allocations: 0.5377 MB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.484e-05/0.005904, allocations: 8.031 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.005952, allocations: 32.91 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006129, allocations: 189.3 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.006147, allocations: 16.88 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.006184, allocations: 24.38 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.006484, allocations: 259.4 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.006492, allocations: 12.12 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.00651, allocations: 8.359 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.006519, allocations: 11.92 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.006603, allocations: 55.48 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.007264, allocations: 0.6266 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.00742, allocations: 98.45 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.007453, allocations: 25.08 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.007465, allocations: 7.938 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.007585, allocations: 161.3 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.007586, allocations: 8 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000518/0.008104, allocations: 262.2 kB / 280.7 MB, free: 9.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.008142, allocations: 102.8 kB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.008268, allocations: 233 kB / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.008284, allocations: 33.7 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.008352, allocations: 168.1 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.008376, allocations: 43.59 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.008428, allocations: 49.66 kB / 281.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.008502, allocations: 330.8 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.008542, allocations: 45.69 kB / 281.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.00863, allocations: 172.9 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/0.008724, allocations: 144.4 kB / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008726, allocations: 0 / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002248/0.008951, allocations: 237.8 kB / 282.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.008973, allocations: 40.05 kB / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008977, allocations: 0 / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.009168, allocations: 68.88 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.009243, allocations: 35.91 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007596/0.01, allocations: 1.45 MB / 283.8 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.01011, allocations: 43.81 kB / 283.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01012, allocations: 8 kB / 283.9 MB, free: 6.305 MB / 266.7 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 6.844e-05/0.01019, allocations: 129.8 kB / 284 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.01021, allocations: 19.97 kB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.01023, allocations: 21.78 kB / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01023, allocations: 4 kB / 284 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.01023, allocations: 4.031 kB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01024, allocations: 3.984 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.01034, allocations: 133.7 kB / 284.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01034, allocations: 0 / 284.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.01038, allocations: 15.98 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.01051, allocations: 72.67 kB / 284.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01052, allocations: 8 kB / 284.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.01114, allocations: 1.276 MB / 285.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01115, allocations: 0 / 285.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.01132, allocations: 165.5 kB / 285.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01134, allocations: 19.8 kB / 285.7 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01136, allocations: 7.984 kB / 285.7 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.01144, allocations: 27.95 kB / 285.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.01148, allocations: 19.97 kB / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01148, allocations: 3.984 kB / 285.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.01154, allocations: 78.78 kB / 285.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 285.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.01172, allocations: 71.89 kB / 285.9 MB, free: 4.094 MB / 266.7 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 6.886e-05/0.01179, allocations: 80.42 kB / 286 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01203, allocations: 311.5 kB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.01203, allocations: 4 kB / 286.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.01213, allocations: 167.4 kB / 286.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.01226, allocations: 36.67 kB / 286.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.01284, allocations: 429 kB / 286.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.01287, allocations: 84.25 kB / 287 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.01293, allocations: 17.95 kB / 287 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01303, allocations: 99.34 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.01303, allocations: 0 / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of Templates: time 0.08633/0.09936, allocations: 3.981 MB / 291.1 MB, free: 25.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4849967788904905]