Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.0009339/0.0009339, allocations: 75.75 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.000918/0.000918, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.9687/0.9687, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.SchmittTrigger,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.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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.243e-05, allocations: 2.312 kB / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004378/0.0044, allocations: 2.724 MB / 253.8 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005812, allocations: 0.7059 MB / 254.5 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.00596, allocations: 7.938 kB / 254.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.006109, allocations: 39.58 kB / 254.6 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.006289, allocations: 99.2 kB / 254.7 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.006603, allocations: 99.78 kB / 254.8 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.006918, allocations: 374.2 kB / 255.1 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.007081, allocations: 60.83 kB / 255.2 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.00729, allocations: 195.5 kB / 255.4 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.007427, allocations: 111.7 kB / 255.5 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.007473, allocations: 32 kB / 255.5 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.007508, allocations: 28 kB / 255.5 MB, free: 2.98 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.007563, allocations: 79.67 kB / 255.6 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.007657, allocations: 95.75 kB / 255.7 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.007926, allocations: 215.2 kB / 255.9 MB, free: 2.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.00793, allocations: 4 kB / 255.9 MB, free: 2.594 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007931, allocations: 0 / 255.9 MB, free: 2.594 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.007936, allocations: 0 / 255.9 MB, free: 2.594 MB / 234.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.000904/0.00884, allocations: 0.6468 MB / 256.6 MB, free: 1.906 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.008887, allocations: 11.98 kB / 256.6 MB, free: 1.895 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.008972, allocations: 48.75 kB / 256.6 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.009255, allocations: 216.1 kB / 256.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.009278, allocations: 20.81 kB / 256.9 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.009312, allocations: 24.38 kB / 256.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.009655, allocations: 240.7 kB / 257.1 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.009669, allocations: 4.172 kB / 257.1 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.009689, allocations: 8.375 kB / 257.1 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.0097, allocations: 7.938 kB / 257.1 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.009846, allocations: 82.95 kB / 257.2 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.01086, allocations: 0.7581 MB / 258 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.01111, allocations: 119.1 kB / 258.1 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.01119, allocations: 35.67 kB / 258.1 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.01122, allocations: 0 / 258.1 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.01145, allocations: 191 kB / 258.3 MB, free: 0 / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.01145, allocations: 4.047 kB / 258.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007617/0.01221, allocations: 320.9 kB / 258.6 MB, free: 15.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.01226, allocations: 106.8 kB / 258.7 MB, free: 15.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01245, allocations: 288.3 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01247, allocations: 29.7 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01258, allocations: 230.9 kB / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.01262, allocations: 43.62 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.01268, allocations: 51.31 kB / 259.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.01286, allocations: 0.5039 MB / 259.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/0.01294, allocations: 65.38 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01308, allocations: 194.3 kB / 260.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01324, allocations: 170.7 kB / 260.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01324, allocations: 0 / 260.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003961/0.01364, allocations: 300.4 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.01367, allocations: 29.7 kB / 260.6 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01368, allocations: 4 kB / 260.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.014, allocations: 79.66 kB / 260.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.0141, allocations: 35.91 kB / 260.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.01544, allocations: 2.145 MB / 262.9 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01556, allocations: 40.05 kB / 262.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01557, allocations: 4 kB / 262.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00011/0.01568, allocations: 192.6 kB / 263.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001102/0.01579, allocations: 194.2 kB / 263.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001218/0.01592, allocations: 159.5 kB / 263.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.01592, allocations: 0 / 263.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002603/0.01618, allocations: 255.6 kB / 263.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.0162, allocations: 37.89 kB / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.0162, allocations: 4 kB / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.264e-05/0.01629, allocations: 39.66 kB / 263.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.01637, allocations: 43.91 kB / 263.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009679/0.01734, allocations: 2.028 MB / 265.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01746, allocations: 39.86 kB / 265.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01747, allocations: 8 kB / 265.9 MB, free: 7.828 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001074/0.01757, allocations: 279.7 kB / 266.2 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.0176, allocations: 31.8 kB / 266.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.01763, allocations: 25.77 kB / 266.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.01763, allocations: 0 / 266.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01763, allocations: 4.031 kB / 266.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01763, allocations: 0 / 266.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01778, allocations: 212.5 kB / 266.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01778, allocations: 0 / 266.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.01783, allocations: 15.98 kB / 266.5 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.01802, allocations: 71.64 kB / 266.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01803, allocations: 7.922 kB / 266.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008845/0.01891, allocations: 1.877 MB / 268.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01892, allocations: 0 / 268.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01917, allocations: 215.8 kB / 268.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.01919, allocations: 19.83 kB / 268.6 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01921, allocations: 11.94 kB / 268.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.01929, allocations: 20.02 kB / 268.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.01934, allocations: 27.94 kB / 268.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01935, allocations: 0 / 268.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.01946, allocations: 209.1 kB / 268.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01946, allocations: 0 / 268.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.01977, allocations: 127.7 kB / 269 MB, free: 4.5 MB / 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 9.709e-05/0.01986, allocations: 103.2 kB / 269.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.02038, allocations: 0.6875 MB / 269.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.02038, allocations: 0 / 269.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.02051, allocations: 225.5 kB / 270 MB, free: 3.379 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.02071, allocations: 58.77 kB / 270.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.02139, allocations: 438.3 kB / 270.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.02143, allocations: 80.62 kB / 270.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.0215, allocations: 21.95 kB / 270.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.02154, allocations: 20.5 kB / 270.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02154, allocations: 0 / 270.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of Templates: time 0.00585/0.02739, allocations: 4.254 MB / 274.9 MB, free: 14.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.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: 3.050760354846716]