Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001039/0.001039, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.001042/0.001042, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9028/0.9028, allocations: 173.3 MB / 201.1 MB, free: 8.934 MB / 186.7 MB " [Timeout remaining time 179] 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.SchmittTrigger,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.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 268 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.772e-05, allocations: 2.312 kB / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002682/0.002699, allocations: 2.771 MB / 270.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003793, allocations: 0.6583 MB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.003909, allocations: 7.938 kB / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.004036, allocations: 43.62 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.004182, allocations: 103.1 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.004422, allocations: 91.81 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.004727, allocations: 370.3 kB / 272.1 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.004884, allocations: 60.81 kB / 272.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.005089, allocations: 195.5 kB / 272.3 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.005213, allocations: 119.6 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.005252, allocations: 32 kB / 272.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.005286, allocations: 32 kB / 272.5 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.005331, allocations: 59.75 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.005416, allocations: 107.7 kB / 272.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005648, allocations: 215.2 kB / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005651, allocations: 0 / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005651, allocations: 0 / 272.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005656, allocations: 0 / 272.9 MB, free: 1.348 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.0008228/0.006478, allocations: 0.6429 MB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.006517, allocations: 12.92 kB / 273.5 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.006597, allocations: 44.75 kB / 273.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.00686, allocations: 224 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.00688, allocations: 16.86 kB / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.006905, allocations: 20.38 kB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.007243, allocations: 277.1 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.007253, allocations: 192 / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.007276, allocations: 16.36 kB / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.007287, allocations: 7.938 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.007438, allocations: 82.89 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.008468, allocations: 0.8741 MB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.008732, allocations: 115.2 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.008794, allocations: 43.61 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.008814, allocations: 12.2 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.008989, allocations: 179.4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.008991, allocations: 0 / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006729/0.009664, allocations: 304.9 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.009721, allocations: 118.8 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.009896, allocations: 288.3 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.009916, allocations: 33.7 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.01001, allocations: 230.9 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.01005, allocations: 47.58 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.0101, allocations: 47.36 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01024, allocations: 0.5001 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.0103, allocations: 61.61 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.01042, allocations: 202 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.01057, allocations: 177.8 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01057, allocations: 0 / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00035/0.01092, allocations: 292.5 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.01096, allocations: 37.69 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01096, allocations: 0 / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.01123, allocations: 83.64 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01134, allocations: 39.91 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.01267, allocations: 2.129 MB / 280 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01281, allocations: 39.86 kB / 280 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01282, allocations: 11.94 kB / 280 MB, free: 9.641 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001171/0.01294, allocations: 164.5 kB / 280.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.01297, allocations: 31.86 kB / 280.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.013, allocations: 25.8 kB / 280.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.013, allocations: 0 / 280.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.013, allocations: 4 kB / 280.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01301, allocations: 0 / 280.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.01322, allocations: 208.5 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.01322, allocations: 4.109 kB / 280.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.01327, allocations: 19.98 kB / 280.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.01346, allocations: 75.62 kB / 280.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01347, allocations: 0 / 280.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009661/0.01444, allocations: 1.885 MB / 282.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01444, allocations: 0 / 282.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.01469, allocations: 215.9 kB / 282.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01471, allocations: 23.83 kB / 282.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01473, allocations: 12.03 kB / 282.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.01481, allocations: 23.97 kB / 282.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.01487, allocations: 15.97 kB / 282.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.01488, allocations: 8 kB / 282.7 MB, free: 6.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.01512, allocations: 205.1 kB / 282.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01512, allocations: 0 / 282.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01535, allocations: 79.83 kB / 283 MB, free: 6.461 MB / 266.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.008e-05/0.01544, allocations: 107.2 kB / 283.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.01581, allocations: 378.2 kB / 283.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01581, allocations: 0 / 283.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.01597, allocations: 233.4 kB / 283.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.0162, allocations: 50.89 kB / 283.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/0.01703, allocations: 410.5 kB / 284.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.01708, allocations: 84.25 kB / 284.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.178e-05/0.01715, allocations: 25.94 kB / 284.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.01721, allocations: 28.48 kB / 284.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01721, allocations: 0 / 284.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of Templates: time 0.006089/0.0233, allocations: 4.069 MB / 288.4 MB, free: 1.039 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.901771205943078]