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.001653/0.001653, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001903/0.001903, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.4/1.4, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001451/0.001451, allocations: 51.92 kB / 366.9 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09867, allocations: 52.15 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004183/0.1029, allocations: 2.764 MB / 421.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1042, allocations: 0.6817 MB / 422.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1044, allocations: 4 kB / 422.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1046, allocations: 39.58 kB / 422.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1048, allocations: 95.25 kB / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.105, allocations: 99.8 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.1055, allocations: 346.6 kB / 423 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1056, allocations: 64.7 kB / 423.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1058, allocations: 135.4 kB / 423.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.106, allocations: 155.3 kB / 423.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.1061, allocations: 28 kB / 423.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-05/0.1061, allocations: 32 kB / 423.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.1062, allocations: 59.77 kB / 423.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1064, allocations: 151.3 kB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1068, allocations: 326.6 kB / 423.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1068, allocations: 0 / 423.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1068, allocations: 0 / 423.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1068, allocations: 0 / 423.9 MB, free: 7.109 MB / 350.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.001303/0.1081, allocations: 0.6532 MB / 424.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1081, allocations: 11.89 kB / 424.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.1082, allocations: 36.73 kB / 424.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.1086, allocations: 279.8 kB / 424.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1086, allocations: 16.81 kB / 424.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.1087, allocations: 20.38 kB / 425 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.1093, allocations: 278.1 kB / 425.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1093, allocations: 0 / 425.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.1094, allocations: 8 kB / 425.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1094, allocations: 4 kB / 425.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.1101, allocations: 245.5 kB / 425.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1119, allocations: 0.9561 MB / 426.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.1127, allocations: 230.5 kB / 426.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1131, allocations: 92.78 kB / 426.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1131, allocations: 7.984 kB / 426.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.1136, allocations: 181.7 kB / 426.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1136, allocations: 0 / 426.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002534/0.1161, allocations: 0.6552 MB / 427.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.1162, allocations: 106.8 kB / 427.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.1166, allocations: 266.6 kB / 428 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1166, allocations: 33.7 kB / 428 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1168, allocations: 180.1 kB / 428.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1168, allocations: 51.58 kB / 428.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.1169, allocations: 41.7 kB / 428.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1171, allocations: 338.8 kB / 428.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.1174, allocations: 99.92 kB / 428.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1179, allocations: 186.8 kB / 428.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.1186, allocations: 278.1 kB / 429.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1186, allocations: 4 kB / 429.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001271/0.1199, allocations: 444.8 kB / 429.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.1199, allocations: 37.77 kB / 429.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1199, allocations: 0 / 429.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.1203, allocations: 80.8 kB / 429.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1206, allocations: 47.89 kB / 429.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.1236, allocations: 2.009 MB / 431.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.1239, allocations: 51.8 kB / 431.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1239, allocations: 12.22 kB / 431.8 MB, free: 14.71 MB / 366.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.0001655/0.1241, allocations: 137.7 kB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.1241, allocations: 31.73 kB / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1242, allocations: 33.89 kB / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1242, allocations: 0 / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1242, allocations: 0 / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1242, allocations: 0 / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1245, allocations: 293.5 kB / 432.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1245, allocations: 0 / 432.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1246, allocations: 23.98 kB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.1249, allocations: 80.67 kB / 432.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1249, allocations: 7.984 kB / 432.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.1275, allocations: 1.927 MB / 434.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1275, allocations: 0 / 434.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1286, allocations: 361.6 kB / 434.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.1287, allocations: 96.97 kB / 434.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1287, allocations: 7.984 kB / 434.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.129, allocations: 35.97 kB / 434.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.1291, allocations: 19.97 kB / 434.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1291, allocations: 0 / 434.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1293, allocations: 198 kB / 435 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1293, allocations: 3.938 kB / 435 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.1297, allocations: 71.89 kB / 435.1 MB, free: 11.16 MB / 366.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.0001663/0.1299, allocations: 111.2 kB / 435.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.1312, allocations: 472.8 kB / 435.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1312, allocations: 448 / 435.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.1317, allocations: 234.5 kB / 435.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.132, allocations: 52.47 kB / 436 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.1351, allocations: 0.9227 MB / 436.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1355, allocations: 0.748 MB / 437.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.1356, allocations: 19.44 kB / 437.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1356, allocations: 0 / 437.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of Templates: time 0.006732/0.1423, allocations: 4.221 MB / 441.9 MB, free: 4.309 MB / 366.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.007544070016593]