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.001058/0.001058, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001568/0.002626, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009444/0.0009444, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002008, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9679/0.9679, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.072, allocations: 52.51 MB / 238.3 MB, free: 4.422 MB / 234.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.402e-06/1.402e-06, allocations: 3.938 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.049e-05, allocations: 2.312 kB / 239.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003894/0.003915, allocations: 2.803 MB / 242.4 MB, free: 320 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.005186, allocations: 0.6815 MB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.005314, allocations: 11.94 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.82e-05/0.005402, allocations: 35.64 kB / 243.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.00573, allocations: 103.1 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.005961, allocations: 95.75 kB / 243.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.006257, allocations: 366.3 kB / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006382, allocations: 66.78 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.006608, allocations: 232.1 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006722, allocations: 119.6 kB / 244.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.006759, allocations: 28 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.006788, allocations: 28 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.006827, allocations: 47.81 kB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.006897, allocations: 79.88 kB / 244.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.007123, allocations: 195.3 kB / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.007135, allocations: 0 / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.007137, allocations: 4 kB / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.00715, allocations: 0 / 244.5 MB, free: 14.24 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.0006868/0.007837, allocations: 0.5725 MB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.007862, allocations: 12.03 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.007912, allocations: 32.91 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.008104, allocations: 193.2 kB / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008117, allocations: 12.88 kB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.008138, allocations: 28.38 kB / 245.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.008391, allocations: 263.3 kB / 245.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.008398, allocations: 192 / 245.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.008413, allocations: 12.38 kB / 245.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.008419, allocations: 7.938 kB / 245.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.008501, allocations: 59.42 kB / 245.6 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.009153, allocations: 0.6344 MB / 246.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.009327, allocations: 86.55 kB / 246.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.009373, allocations: 40.83 kB / 246.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.009394, allocations: 0 / 246.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.009572, allocations: 164.9 kB / 246.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.031e-06/0.009573, allocations: 0 / 246.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005506/0.01012, allocations: 274.2 kB / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.01016, allocations: 55.41 kB / 246.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.0103, allocations: 229 kB / 247.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.01031, allocations: 25.7 kB / 247.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.01038, allocations: 168.2 kB / 247.3 MB, free: 11.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.01041, allocations: 47.62 kB / 247.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.01045, allocations: 37.7 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.01053, allocations: 334.8 kB / 247.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.01057, allocations: 49.69 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.01065, allocations: 173.6 kB / 247.9 MB, free: 10.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.01074, allocations: 140.4 kB / 248.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01074, allocations: 4 kB / 248.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002331/0.01098, allocations: 248.1 kB / 248.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.01101, allocations: 33.7 kB / 248.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01101, allocations: 0 / 248.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.0112, allocations: 77.19 kB / 248.4 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.01128, allocations: 39.91 kB / 248.5 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/0.01211, allocations: 1.449 MB / 249.9 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01222, allocations: 43.81 kB / 249.9 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01223, allocations: 4 kB / 250 MB, free: 8.316 MB / 250.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 8.661e-05/0.01232, allocations: 140.9 kB / 250.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.01234, allocations: 15.98 kB / 250.1 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.01236, allocations: 25.77 kB / 250.1 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01236, allocations: 4 kB / 250.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01236, allocations: 0 / 250.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01237, allocations: 0 / 250.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.01247, allocations: 129.8 kB / 250.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01247, allocations: 0 / 250.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.01251, allocations: 24.11 kB / 250.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.01253, allocations: 23.73 kB / 250.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.01268, allocations: 68.8 kB / 250.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.01269, allocations: 4 kB / 250.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000683/0.01337, allocations: 1.272 MB / 251.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01337, allocations: 192 / 251.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.0136, allocations: 161.8 kB / 251.8 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01363, allocations: 15.98 kB / 251.8 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.01373, allocations: 19.92 kB / 251.8 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.01378, allocations: 23.97 kB / 251.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01379, allocations: 0 / 251.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.445e-05/0.01386, allocations: 86.7 kB / 252 MB, free: 6.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01386, allocations: 0 / 252 MB, free: 6.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.01413, allocations: 75.84 kB / 252 MB, free: 6.105 MB / 250.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 0.0001041/0.01423, allocations: 84.42 kB / 252.1 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.01455, allocations: 295.7 kB / 252.4 MB, free: 5.695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.01455, allocations: 7.984 kB / 252.4 MB, free: 5.688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01469, allocations: 171.2 kB / 252.6 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01488, allocations: 63.72 kB / 252.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.0168, allocations: 428.3 kB / 253.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.01685, allocations: 84.31 kB / 253.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.01692, allocations: 17.95 kB / 253.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01705, allocations: 95.34 kB / 253.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01705, allocations: 0 / 253.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of Templates: time 0.00662/0.02367, allocations: 4.171 MB / 257.4 MB, free: 0.6797 MB / 250.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 -ignoreHideResult -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.580783491022885]