Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001038/0.001038, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002476, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001205/0.001205, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002735, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09221/1.096, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.InvertingSchmittTrigger,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.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.068e-05, allocations: 2.312 kB / 244.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00794/0.00796, allocations: 2.811 MB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.009314, allocations: 0.7164 MB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.00947, allocations: 7.938 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.009566, allocations: 43.58 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.009751, allocations: 103.2 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.009993, allocations: 99.75 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.01342, allocations: 366.3 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.01356, allocations: 58.88 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.01386, allocations: 236 kB / 249 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.01401, allocations: 115.7 kB / 249.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.01406, allocations: 28 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.0141, allocations: 28 kB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.01415, allocations: 47.81 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.01424, allocations: 79.88 kB / 249.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.01451, allocations: 199.3 kB / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.01452, allocations: 0 / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01452, allocations: 0 / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.01454, allocations: 0 / 249.5 MB, free: 9.324 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.0008131/0.01535, allocations: 0.5841 MB / 250.1 MB, free: 8.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.01538, allocations: 12.02 kB / 250.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.01544, allocations: 40.91 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.01568, allocations: 181.3 kB / 250.3 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.0157, allocations: 16.88 kB / 250.3 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.01573, allocations: 20.38 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.01906, allocations: 259.4 kB / 250.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01908, allocations: 8.172 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.0191, allocations: 12.38 kB / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01911, allocations: 7.938 kB / 250.6 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.01921, allocations: 59.41 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.02013, allocations: 0.6634 MB / 251.3 MB, free: 7.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.02033, allocations: 90.53 kB / 251.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.02038, allocations: 32.78 kB / 251.5 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.0204, allocations: 4 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.02058, allocations: 169.2 kB / 251.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.02058, allocations: 0 / 251.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006503/0.02123, allocations: 262.2 kB / 251.9 MB, free: 6.738 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.02126, allocations: 55.39 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.02144, allocations: 241.1 kB / 252.2 MB, free: 6.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.02146, allocations: 33.7 kB / 252.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.02154, allocations: 172.1 kB / 252.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.02158, allocations: 43.62 kB / 252.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.02164, allocations: 45.69 kB / 252.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.02174, allocations: 342.8 kB / 252.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.0218, allocations: 45.69 kB / 252.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.02493, allocations: 188 kB / 253 MB, free: 5.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.02508, allocations: 161.1 kB / 253.2 MB, free: 5.297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.02508, allocations: 3.938 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003381/0.02542, allocations: 253.3 kB / 253.4 MB, free: 5.027 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.02571, allocations: 33.7 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02572, allocations: 3.984 kB / 253.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.02597, allocations: 72.88 kB / 253.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.0261, allocations: 47.84 kB / 253.6 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.02721, allocations: 1.473 MB / 255.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02737, allocations: 43.98 kB / 255.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.02739, allocations: 11.98 kB / 255.1 MB, free: 3.254 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 9.07e-05/0.02748, allocations: 133.8 kB / 255.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.02751, allocations: 15.98 kB / 255.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.02754, allocations: 25.77 kB / 255.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02754, allocations: 4 kB / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.02754, allocations: 0 / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02754, allocations: 0 / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.02768, allocations: 137.7 kB / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02768, allocations: 3.938 kB / 255.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.02774, allocations: 23.92 kB / 255.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.02777, allocations: 15.86 kB / 255.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.02797, allocations: 68.8 kB / 255.5 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.02798, allocations: 8 kB / 255.5 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009299/0.02891, allocations: 1.427 MB / 257 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02891, allocations: 8.031 kB / 257 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.02915, allocations: 160.9 kB / 257.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.02917, allocations: 4 kB / 257.1 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02928, allocations: 23.97 kB / 257.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.02933, allocations: 19.91 kB / 257.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.02934, allocations: 8 kB / 257.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.02942, allocations: 86.77 kB / 257.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02942, allocations: 0 / 257.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.02974, allocations: 67.89 kB / 257.3 MB, free: 0.8906 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.0001121/0.02986, allocations: 92.34 kB / 257.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.03026, allocations: 329.6 kB / 257.8 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.03028, allocations: 7.984 kB / 257.8 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.03042, allocations: 163.3 kB / 257.9 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.03062, allocations: 75.47 kB / 258 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.03622, allocations: 0.6925 MB / 258.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.346e-05/0.03628, allocations: 84.17 kB / 258.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.03636, allocations: 22.3 kB / 258.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.0365, allocations: 99.34 kB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0365, allocations: 0 / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Templates: time 0.006659/0.04316, allocations: 4.158 MB / 263 MB, free: 11.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6746994545683265]