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.001482/0.001482, allocations: 120.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001838/0.001838, allocations: 190.7 kB / 21.35 MB, free: 1.746 MB / 14.72 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.499/1.499, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001559/0.001559, allocations: 59.91 kB / 358.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09816, allocations: 49.44 MB / 408.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00421/0.1024, allocations: 2.744 MB / 410.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1037, allocations: 0.6661 MB / 411.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1039, allocations: 7.938 kB / 411.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1041, allocations: 43.56 kB / 411.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1043, allocations: 87.25 kB / 411.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1046, allocations: 95.83 kB / 411.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.1051, allocations: 362.5 kB / 412.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1053, allocations: 80.66 kB / 412.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1055, allocations: 139.5 kB / 412.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1057, allocations: 147.3 kB / 412.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.1058, allocations: 28 kB / 412.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.646e-05/0.1058, allocations: 32 kB / 412.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.1059, allocations: 63.75 kB / 412.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1061, allocations: 151.2 kB / 412.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1065, allocations: 330.6 kB / 413.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1065, allocations: 0 / 413.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1065, allocations: 0 / 413.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1065, allocations: 0 / 413.1 MB, free: 1.812 MB / 334.1 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.001365/0.1079, allocations: 0.6455 MB / 413.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1079, allocations: 15.89 kB / 413.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.108, allocations: 28.75 kB / 413.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.1085, allocations: 283.8 kB / 414.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1085, allocations: 20.75 kB / 414.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1085, allocations: 20.38 kB / 414.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.1093, allocations: 278.1 kB / 414.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1093, allocations: 0 / 414.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1093, allocations: 15.94 kB / 414.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1093, allocations: 4 kB / 414.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.1101, allocations: 245.6 kB / 414.6 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1118, allocations: 0.9482 MB / 415.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.1127, allocations: 238.6 kB / 415.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.1131, allocations: 100.8 kB / 415.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1131, allocations: 4.219 kB / 415.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.1136, allocations: 193.4 kB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1136, allocations: 0 / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002469/0.1161, allocations: 0.6591 MB / 416.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.1162, allocations: 102.8 kB / 416.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.1165, allocations: 270.6 kB / 417.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1165, allocations: 25.7 kB / 417.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1167, allocations: 188.1 kB / 417.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.1168, allocations: 43.64 kB / 417.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.1169, allocations: 45.7 kB / 417.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.117, allocations: 338.8 kB / 417.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.1174, allocations: 91.92 kB / 417.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.1179, allocations: 182.8 kB / 418 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.1186, allocations: 292.1 kB / 418.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1186, allocations: 0 / 418.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00129/0.1199, allocations: 447.7 kB / 418.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.12, allocations: 33.7 kB / 418.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.12, allocations: 64 / 418.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.1204, allocations: 84.8 kB / 418.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1206, allocations: 39.91 kB / 418.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.1237, allocations: 2.013 MB / 420.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.1241, allocations: 55.81 kB / 421 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1241, allocations: 12 kB / 421 MB, free: 9.398 MB / 350.1 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 0.0001525/0.1243, allocations: 138.2 kB / 421.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1243, allocations: 23.86 kB / 421.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.1244, allocations: 33.77 kB / 421.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1244, allocations: 4 kB / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1244, allocations: 0 / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1244, allocations: 0 / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1247, allocations: 285.5 kB / 421.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1247, allocations: 0 / 421.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1249, allocations: 23.97 kB / 421.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.1252, allocations: 76.8 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1252, allocations: 7.938 kB / 421.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.1278, allocations: 1.931 MB / 423.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1278, allocations: 3.938 kB / 423.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.129, allocations: 365.6 kB / 423.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.1291, allocations: 101 kB / 423.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1291, allocations: 4 kB / 424 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1294, allocations: 39.95 kB / 424 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.1295, allocations: 15.98 kB / 424 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1295, allocations: 3.938 kB / 424 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.1298, allocations: 198 kB / 424.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1298, allocations: 0 / 424.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.1302, allocations: 71.89 kB / 424.3 MB, free: 5.855 MB / 350.1 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.0001528/0.1303, allocations: 107.2 kB / 424.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1317, allocations: 481.8 kB / 424.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1317, allocations: 0 / 424.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.1322, allocations: 231 kB / 425.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1325, allocations: 49.77 kB / 425.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.1356, allocations: 0.9266 MB / 426.1 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.136, allocations: 0.744 MB / 426.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.1361, allocations: 27.44 kB / 426.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1361, allocations: 0 / 426.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Templates: time 0.1823/0.3184, allocations: 4.197 MB / 431 MB, free: 22.31 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.448745322995819]