Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001129/0.001129, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001124/0.001124, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9593/0.9593, allocations: 158.6 MB / 187.2 MB, free: 2.539 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.813e-05, allocations: 2.312 kB / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003506/0.003534, allocations: 2.73 MB / 253.8 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.00483, allocations: 0.7098 MB / 254.5 MB, free: 88 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.00501, allocations: 7.938 kB / 254.5 MB, free: 80 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.005171, allocations: 35.58 kB / 254.6 MB, free: 44 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.005392, allocations: 99.2 kB / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.005729, allocations: 95.8 kB / 254.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.00613, allocations: 378.2 kB / 255.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.006315, allocations: 56.84 kB / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.006556, allocations: 199.5 kB / 255.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.006705, allocations: 119.7 kB / 255.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.00675, allocations: 28 kB / 255.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-05/0.006787, allocations: 28 kB / 255.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.006839, allocations: 71.69 kB / 255.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.006951, allocations: 103.8 kB / 255.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.007233, allocations: 219.2 kB / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.007237, allocations: 0 / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007238, allocations: 0 / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.007244, allocations: 0 / 255.9 MB, free: 14.67 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.0009168/0.008161, allocations: 0.6429 MB / 256.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.008204, allocations: 15.98 kB / 256.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.0083, allocations: 48.75 kB / 256.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.008594, allocations: 216.1 kB / 256.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.008616, allocations: 20.81 kB / 256.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.008644, allocations: 20.38 kB / 256.9 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.008998, allocations: 244.7 kB / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.009008, allocations: 192 / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.00903, allocations: 8.375 kB / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.009041, allocations: 11.88 kB / 257.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.009202, allocations: 86.94 kB / 257.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01021, allocations: 0.7543 MB / 258 MB, free: 12.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.01048, allocations: 115.1 kB / 258.1 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.01055, allocations: 31.67 kB / 258.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.01057, allocations: 4 kB / 258.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.01077, allocations: 190.3 kB / 258.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.01077, allocations: 4 kB / 258.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007627/0.01153, allocations: 320.9 kB / 258.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.01159, allocations: 106.8 kB / 258.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01179, allocations: 304.2 kB / 259 MB, free: 11.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01181, allocations: 29.7 kB / 259.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01191, allocations: 234.9 kB / 259.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.01194, allocations: 43.69 kB / 259.3 MB, free: 11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.01201, allocations: 51.31 kB / 259.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000395/0.0124, allocations: 0.5001 MB / 259.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.01249, allocations: 65.36 kB / 260 MB, free: 10.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01262, allocations: 213.6 kB / 260.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.01278, allocations: 194.7 kB / 260.4 MB, free: 9.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01279, allocations: 0 / 260.4 MB, free: 9.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004444/0.01323, allocations: 308.4 kB / 260.7 MB, free: 9.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.01328, allocations: 41.91 kB / 260.7 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01329, allocations: 0 / 260.7 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.01367, allocations: 87.53 kB / 260.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01377, allocations: 39.92 kB / 260.8 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.01513, allocations: 2.161 MB / 263 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01528, allocations: 39.86 kB / 263 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.0153, allocations: 16.06 kB / 263 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001478/0.01544, allocations: 188.5 kB / 263.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001348/0.01558, allocations: 217.5 kB / 263.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001609/0.01574, allocations: 185.9 kB / 263.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.01574, allocations: 4 kB / 263.6 MB, free: 6.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003055/0.01605, allocations: 256.3 kB / 263.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.01607, allocations: 33.7 kB / 263.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.01608, allocations: 0 / 263.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.01621, allocations: 47.89 kB / 263.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.0163, allocations: 39.92 kB / 264 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/0.01706, allocations: 1.768 MB / 265.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.01719, allocations: 35.97 kB / 265.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01721, allocations: 12 kB / 265.8 MB, free: 3.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.01733, allocations: 287.9 kB / 266.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01736, allocations: 31.86 kB / 266.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.01739, allocations: 17.78 kB / 266.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01739, allocations: 0 / 266.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01739, allocations: 7.984 kB / 266.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01739, allocations: 0 / 266.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01755, allocations: 200.5 kB / 266.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01755, allocations: 11.92 kB / 266.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.0176, allocations: 12 kB / 266.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.0178, allocations: 87.56 kB / 266.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01781, allocations: 0 / 266.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.01913, allocations: 2.125 MB / 268.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01913, allocations: 4.031 kB / 268.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.01941, allocations: 215.8 kB / 268.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01944, allocations: 27.84 kB / 268.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01946, allocations: 0 / 268.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.01955, allocations: 31.91 kB / 268.8 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.01963, allocations: 19.97 kB / 268.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01964, allocations: 4 kB / 268.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.01979, allocations: 209.1 kB / 269.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01979, allocations: 0 / 269.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.02021, allocations: 123.8 kB / 269.2 MB, free: 392 kB / 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.0001762/0.02039, allocations: 99.25 kB / 269.3 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.02125, allocations: 0.7246 MB / 270 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.02125, allocations: 0 / 270 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02144, allocations: 230.4 kB / 270.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.02171, allocations: 68.34 kB / 270.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.02324, allocations: 0.6668 MB / 271 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.0233, allocations: 84.62 kB / 271 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.673e-05/0.02338, allocations: 21.95 kB / 271.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.02344, allocations: 20.5 kB / 271.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.994e-06/0.02344, allocations: 3.938 kB / 271.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Templates: time 0.008268/0.03171, allocations: 4.453 MB / 275.5 MB, free: 9.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.826335905585438]