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.0009282/0.0009282, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008649/0.0008649, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 18.57 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 0.9058/0.9058, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.024e-05, allocations: 2.312 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003734/0.003754, allocations: 2.752 MB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004962, allocations: 0.6737 MB / 271.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.005098, allocations: 4 kB / 271.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.005251, allocations: 43.56 kB / 272 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.005453, allocations: 103.1 kB / 272.1 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.005722, allocations: 91.81 kB / 272.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.006106, allocations: 366.4 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.006263, allocations: 66.78 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006509, allocations: 195.5 kB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.006676, allocations: 115.6 kB / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.006727, allocations: 32 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.119e-05/0.006769, allocations: 28 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.006832, allocations: 63.75 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.006945, allocations: 103.7 kB / 273.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.007239, allocations: 219.3 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007243, allocations: 0 / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007244, allocations: 0 / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.007249, allocations: 0 / 273.3 MB, free: 1.125 MB / 250.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.0008419/0.008091, allocations: 0.5298 MB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.008127, allocations: 8.922 kB / 273.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.0082, allocations: 36.91 kB / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.008452, allocations: 181.3 kB / 274.1 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.008477, allocations: 16.88 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.00851, allocations: 20.38 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.008901, allocations: 263.4 kB / 274.4 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.008914, allocations: 4.125 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.008972, allocations: 12.38 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.008983, allocations: 7.938 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.00911, allocations: 59.47 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.009899, allocations: 0.6305 MB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.01008, allocations: 98.45 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.01011, allocations: 24.84 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.01013, allocations: 4 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.01027, allocations: 161.3 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.01028, allocations: 0 / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005293/0.0108, allocations: 272.9 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.01085, allocations: 106.8 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01097, allocations: 228.9 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.01098, allocations: 29.7 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.01104, allocations: 172.4 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.01107, allocations: 51.62 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.01112, allocations: 49.56 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.01118, allocations: 330.8 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.01123, allocations: 41.7 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.0113, allocations: 173.6 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.0114, allocations: 143.4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01141, allocations: 4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002406/0.01165, allocations: 233.8 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.01167, allocations: 37.73 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01168, allocations: 4 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.0119, allocations: 68.8 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.01198, allocations: 39.92 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007787/0.01276, allocations: 1.449 MB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01291, allocations: 43.81 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01293, allocations: 4.125 kB / 278.8 MB, free: 11.2 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 7.475e-05/0.013, allocations: 125.7 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.01302, allocations: 19.98 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.01304, allocations: 25.77 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01305, allocations: 4 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01305, allocations: 0 / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01305, allocations: 4.031 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.01315, allocations: 137.7 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01315, allocations: 4 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.0132, allocations: 15.98 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.01333, allocations: 68.73 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01334, allocations: 7.969 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005842/0.01393, allocations: 1.276 MB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01393, allocations: 0 / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.0141, allocations: 157.8 kB / 280.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01412, allocations: 23.8 kB / 280.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.01414, allocations: 4 kB / 280.7 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.01422, allocations: 31.94 kB / 280.7 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.01426, allocations: 15.97 kB / 280.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.01427, allocations: 4 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.01432, allocations: 82.77 kB / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01432, allocations: 0 / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.01451, allocations: 71.89 kB / 280.9 MB, free: 8.996 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 9.347e-05/0.0146, allocations: 88.3 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.01487, allocations: 308.1 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.01487, allocations: 0 / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01498, allocations: 175.1 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.01513, allocations: 44.45 kB / 281.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.01572, allocations: 416.9 kB / 281.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01576, allocations: 76.33 kB / 282 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01582, allocations: 25.94 kB / 282 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.01593, allocations: 87.36 kB / 282.1 MB, free: 7.699 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01593, allocations: 0 / 282.1 MB, free: 7.699 MB / 266.7 MB Notification: Performance of Templates: time 0.005254/0.02119, allocations: 4.017 MB / 286.1 MB, free: 3.742 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.645482706371695]