Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.000929/0.000929, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002167, 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.000838/0.000838, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.00194, 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 1.04/1.04, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08317/1.123, allocations: 52.5 MB / 238.3 MB, free: 4.43 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.InvertingSchmittTrigger,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.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.501e-05, allocations: 2.312 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002978/0.002993, allocations: 2.805 MB / 242.4 MB, free: 324 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.004082, allocations: 0.6815 MB / 243.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.004219, allocations: 7.938 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.004299, allocations: 35.64 kB / 243.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.004446, allocations: 103.1 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.004642, allocations: 95.75 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.004952, allocations: 366.3 kB / 243.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005088, allocations: 66.84 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.005333, allocations: 236 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.00546, allocations: 115.6 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.0055, allocations: 28 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.174e-05/0.005531, allocations: 32 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.005568, allocations: 39.88 kB / 244.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.005643, allocations: 83.81 kB / 244.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.005868, allocations: 199.3 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.005884, allocations: 0 / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005886, allocations: 0 / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.005902, allocations: 0 / 244.5 MB, free: 14.25 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.0007869/0.006689, allocations: 0.5764 MB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.006725, allocations: 11.98 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.006793, allocations: 36.91 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.007048, allocations: 197.2 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.007065, allocations: 12.88 kB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.007086, allocations: 20.38 kB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.007367, allocations: 259.4 kB / 245.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.007377, allocations: 192 / 245.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.007399, allocations: 12.38 kB / 245.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.007406, allocations: 11.88 kB / 245.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.00749, allocations: 59.41 kB / 245.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.008234, allocations: 0.6672 MB / 246.3 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.008406, allocations: 94.53 kB / 246.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.008441, allocations: 32.83 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.008464, allocations: 4 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.008616, allocations: 157.2 kB / 246.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.008617, allocations: 0 / 246.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006018/0.009219, allocations: 270.2 kB / 246.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.009265, allocations: 55.41 kB / 246.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.009434, allocations: 237 kB / 247.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.009457, allocations: 29.7 kB / 247.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.009548, allocations: 172.1 kB / 247.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.00958, allocations: 47.56 kB / 247.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.009639, allocations: 45.69 kB / 247.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.00974, allocations: 338.8 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.009791, allocations: 49.69 kB / 247.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.00989, allocations: 195.2 kB / 248 MB, free: 10.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.01001, allocations: 152.6 kB / 248.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01001, allocations: 3.938 kB / 248.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002586/0.01027, allocations: 249.6 kB / 248.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.01031, allocations: 33.7 kB / 248.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01031, allocations: 8.266 kB / 248.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.01054, allocations: 73.03 kB / 248.5 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.01063, allocations: 51.84 kB / 248.6 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.01184, allocations: 1.477 MB / 250 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01197, allocations: 39.83 kB / 250.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01198, allocations: 8 kB / 250.1 MB, free: 8.168 MB / 250.7 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 7.578e-05/0.01206, allocations: 129.7 kB / 250.2 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01208, allocations: 15.97 kB / 250.2 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.01211, allocations: 25.78 kB / 250.2 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.01211, allocations: 4.031 kB / 250.3 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01212, allocations: 3.984 kB / 250.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01212, allocations: 4 kB / 250.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.01227, allocations: 129.8 kB / 250.4 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.01228, allocations: 7.922 kB / 250.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.01236, allocations: 20.11 kB / 250.4 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.01239, allocations: 23.84 kB / 250.4 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.01261, allocations: 72.75 kB / 250.5 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.01262, allocations: 0 / 250.5 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009432/0.01356, allocations: 1.43 MB / 251.9 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01356, allocations: 0 / 251.9 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.01379, allocations: 161 kB / 252.1 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01382, allocations: 3.984 kB / 252.1 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01393, allocations: 28.02 kB / 252.1 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01398, allocations: 20.09 kB / 252.1 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01399, allocations: 8 kB / 252.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.01407, allocations: 86.75 kB / 252.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01407, allocations: 0 / 252.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.0144, allocations: 67.89 kB / 252.3 MB, free: 5.809 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.0001103/0.01451, allocations: 88.41 kB / 252.4 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.01492, allocations: 336 kB / 252.7 MB, free: 5.355 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.01493, allocations: 7.984 kB / 252.7 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.01508, allocations: 171.8 kB / 252.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01527, allocations: 71.22 kB / 253 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.01783, allocations: 0.6731 MB / 253.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.01788, allocations: 76.33 kB / 253.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01797, allocations: 30.31 kB / 253.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01811, allocations: 103.3 kB / 253.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01811, allocations: 0 / 253.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of Templates: time 0.007187/0.02529, allocations: 4.164 MB / 258 MB, free: 72 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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.7135904179885983]