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.001361/0.001361, allocations: 74.58 kB / 21.24 MB, free: 0.5547 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.001377/0.001377, allocations: 152.5 kB / 24.49 MB, free: 3.723 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.464/1.464, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.001562/0.001562, allocations: 46.64 kB / 319.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.0922, allocations: 52.16 MB / 371.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004209/0.09641, allocations: 2.579 MB / 374.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.09777, allocations: 0.6622 MB / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.09796, allocations: 4 kB / 374.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.09813, allocations: 43.52 kB / 374.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.09838, allocations: 95.25 kB / 375 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.0987, allocations: 99.81 kB / 375.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.09917, allocations: 354.5 kB / 375.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.09935, allocations: 64.83 kB / 375.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.09956, allocations: 131.5 kB / 375.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.09978, allocations: 135.3 kB / 375.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.09983, allocations: 28 kB / 375.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.272e-05/0.09988, allocations: 32 kB / 375.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.09995, allocations: 59.77 kB / 375.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1001, allocations: 131.4 kB / 376 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.1005, allocations: 330.7 kB / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1005, allocations: 0 / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1005, allocations: 0 / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1005, allocations: 0 / 376.3 MB, free: 2.566 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.001325/0.1018, allocations: 0.5664 MB / 376.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1019, allocations: 12.03 kB / 376.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.1019, allocations: 28.75 kB / 376.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.1023, allocations: 222 kB / 377.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1024, allocations: 16.88 kB / 377.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.1024, allocations: 20.38 kB / 377.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.1031, allocations: 334.4 kB / 377.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1031, allocations: 3.938 kB / 377.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.1031, allocations: 12 kB / 377.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1031, allocations: 4 kB / 377.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.1039, allocations: 241.8 kB / 377.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1055, allocations: 0.8096 MB / 378.6 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/0.1064, allocations: 234.6 kB / 378.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.1067, allocations: 88.8 kB / 378.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1067, allocations: 11.98 kB / 378.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.1072, allocations: 228.2 kB / 379.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1072, allocations: 3.938 kB / 379.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002416/0.1097, allocations: 0.5799 MB / 379.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.1097, allocations: 106.8 kB / 379.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.11, allocations: 265.8 kB / 380.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1101, allocations: 25.7 kB / 380.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1102, allocations: 188.1 kB / 380.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1103, allocations: 43.69 kB / 380.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.1103, allocations: 53.66 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1105, allocations: 334.8 kB / 380.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.1109, allocations: 125.6 kB / 380.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.1113, allocations: 259.3 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/0.1121, allocations: 290 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1121, allocations: 224 / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00131/0.1134, allocations: 473.4 kB / 381.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.1135, allocations: 45.56 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1135, allocations: 0 / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.1138, allocations: 84.86 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.114, allocations: 35.97 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.117, allocations: 1.867 MB / 383.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1173, allocations: 55.86 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1174, allocations: 12.12 kB / 383.9 MB, free: 10.48 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.0001606/0.1175, allocations: 141.7 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1176, allocations: 23.86 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1176, allocations: 29.77 kB / 384.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1176, allocations: 0 / 384.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1176, allocations: 3.938 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1176, allocations: 4 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.1179, allocations: 193.2 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1179, allocations: 4 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.118, allocations: 23.97 kB / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.1183, allocations: 76.8 kB / 384.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1183, allocations: 4 kB / 384.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.1209, allocations: 1.789 MB / 386.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1209, allocations: 0 / 386.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.122, allocations: 361.6 kB / 386.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.1221, allocations: 23.97 kB / 386.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.1221, allocations: 11.94 kB / 386.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1224, allocations: 31.95 kB / 386.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1225, allocations: 23.97 kB / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1225, allocations: 0 / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.1228, allocations: 189.2 kB / 386.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 0 / 386.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1232, allocations: 75.83 kB / 386.9 MB, free: 7.328 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.0001665/0.1234, allocations: 107.2 kB / 387 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.1249, allocations: 0.4986 MB / 387.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1249, allocations: 0 / 387.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.1255, allocations: 226.5 kB / 387.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1258, allocations: 39.73 kB / 387.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.1294, allocations: 0.906 MB / 388.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.1295, allocations: 138.2 kB / 388.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1296, allocations: 22.3 kB / 388.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.1297, allocations: 20.5 kB / 388.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1297, allocations: 0 / 388.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Templates: time 0.009201/0.1389, allocations: 3.817 MB / 392.7 MB, free: 1.516 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.443377960007638]