Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 61.59 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 53.4 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004315/0.1207, allocations: 2.621 MB / 381.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.122, allocations: 0.6661 MB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1221, allocations: 7.938 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1222, allocations: 39.58 kB / 382.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1224, allocations: 103.2 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1227, allocations: 79.91 kB / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.1231, allocations: 354.5 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1233, allocations: 60.84 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1235, allocations: 135.4 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1237, allocations: 135.3 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.1237, allocations: 32 kB / 383.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.154e-05/0.1238, allocations: 28 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.1239, allocations: 67.75 kB / 383.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.124, allocations: 131.4 kB / 383.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.1244, allocations: 330.6 kB / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1244, allocations: 0 / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1244, allocations: 0 / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1244, allocations: 0 / 383.7 MB, free: 10.69 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001182/0.1256, allocations: 0.5702 MB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1256, allocations: 11.98 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.1257, allocations: 32.75 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1262, allocations: 218 kB / 384.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1262, allocations: 20.88 kB / 384.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1263, allocations: 16.38 kB / 384.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.1269, allocations: 325.5 kB / 384.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1269, allocations: 0 / 384.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.1269, allocations: 8 kB / 384.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1269, allocations: 7.938 kB / 384.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.1276, allocations: 225.8 kB / 385.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1291, allocations: 0.7621 MB / 385.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.1298, allocations: 210.5 kB / 386.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.1301, allocations: 88.8 kB / 386.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1301, allocations: 0 / 386.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.1306, allocations: 259.2 kB / 386.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.1306, allocations: 0 / 386.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001653/0.1322, allocations: 441.9 kB / 386.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.1323, allocations: 132.5 kB / 387 MB, free: 7.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1326, allocations: 257.8 kB / 387.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1326, allocations: 25.7 kB / 387.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1328, allocations: 184.2 kB / 387.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1328, allocations: 55.61 kB / 387.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.1329, allocations: 45.66 kB / 387.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1331, allocations: 342.7 kB / 387.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.1334, allocations: 117.6 kB / 388 MB, free: 6.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1338, allocations: 256 kB / 388.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.1344, allocations: 250.5 kB / 388.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1344, allocations: 0 / 388.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009729/0.1354, allocations: 397.5 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1354, allocations: 37.7 kB / 388.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1354, allocations: 0 / 388.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.1358, allocations: 80.78 kB / 389 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.136, allocations: 36 kB / 389 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1381, allocations: 1.606 MB / 390.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.1384, allocations: 47.78 kB / 390.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1385, allocations: 8 kB / 390.7 MB, free: 3.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.1387, allocations: 137.8 kB / 390.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1387, allocations: 27.92 kB / 390.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1388, allocations: 30.11 kB / 390.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1388, allocations: 0 / 390.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1388, allocations: 0 / 390.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1388, allocations: 3.938 kB / 390.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.139, allocations: 217 kB / 391.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.139, allocations: 192 / 391.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1392, allocations: 23.97 kB / 391.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.1395, allocations: 72.8 kB / 391.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1395, allocations: 3.984 kB / 391.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.1415, allocations: 1.626 MB / 392.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1415, allocations: 0 / 392.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.1423, allocations: 309.5 kB / 393.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1424, allocations: 23.78 kB / 393.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1424, allocations: 8 kB / 393.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1426, allocations: 23.97 kB / 393.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.1427, allocations: 27.95 kB / 393.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1427, allocations: 8.125 kB / 393.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1429, allocations: 185.2 kB / 393.4 MB, free: 340 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 4 kB / 393.4 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1433, allocations: 79.89 kB / 393.5 MB, free: 256 kB / 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001364/0.1434, allocations: 95.25 kB / 393.6 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009358/0.1443, allocations: 427.5 kB / 394 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1443, allocations: 0 / 394 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.1448, allocations: 226.1 kB / 394.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1451, allocations: 59.89 kB / 394.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1469, allocations: 0.5548 MB / 394.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1471, allocations: 142.2 kB / 395 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.1472, allocations: 26.28 kB / 395 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.1472, allocations: 20.5 kB / 395 MB, free: 14.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1472, allocations: 0 / 395 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Templates: time 0.008651/0.1559, allocations: 4.092 MB / 399.1 MB, free: 10.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.662011027918197]