Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001269/0.001269, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001328/0.001328, allocations: 170 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9414/0.9414, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.482e-05, allocations: 2.312 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003449/0.003473, allocations: 2.76 MB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004555, allocations: 0.7087 MB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004671, allocations: 4 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.004803, allocations: 51.56 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.004979, allocations: 99.12 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005217, allocations: 103.7 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.005544, allocations: 358.4 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005676, allocations: 66.84 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.005878, allocations: 191.6 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.006025, allocations: 119.6 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.006067, allocations: 32 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.006104, allocations: 32 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.006156, allocations: 63.75 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.00625, allocations: 107.7 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.006483, allocations: 203.3 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.006486, allocations: 8 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006487, allocations: 0 / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.00649, allocations: 3.938 kB / 278.4 MB, free: 12.32 MB / 266.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.0007248/0.007215, allocations: 0.5376 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.007245, allocations: 8.031 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.007309, allocations: 40.91 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.007524, allocations: 181.3 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.00754, allocations: 16.88 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.007571, allocations: 24.38 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.007881, allocations: 263.4 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007891, allocations: 4.125 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.007911, allocations: 12.36 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.007921, allocations: 11.94 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.008021, allocations: 51.48 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.008876, allocations: 0.6633 MB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.009071, allocations: 102.5 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.009116, allocations: 28.86 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.009131, allocations: 0 / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.009283, allocations: 161.3 kB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.009284, allocations: 0 / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006503/0.009934, allocations: 266.4 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.009982, allocations: 114.8 kB / 280.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.01015, allocations: 240.8 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.01016, allocations: 25.7 kB / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.01024, allocations: 168.2 kB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.01027, allocations: 47.62 kB / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.01034, allocations: 45.69 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.01042, allocations: 338.7 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.01048, allocations: 49.69 kB / 281.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.01059, allocations: 188 kB / 281.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01073, allocations: 152 kB / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01073, allocations: 3.938 kB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003262/0.01106, allocations: 249.6 kB / 282.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.01109, allocations: 33.7 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01109, allocations: 0 / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.01134, allocations: 73.08 kB / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01146, allocations: 47.84 kB / 282.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.01272, allocations: 1.477 MB / 283.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.01289, allocations: 43.81 kB / 284 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.0129, allocations: 8 kB / 284 MB, free: 6.25 MB / 266.7 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 9.06e-05/0.01299, allocations: 129.8 kB / 284.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.01302, allocations: 23.97 kB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.01305, allocations: 21.77 kB / 284.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.01305, allocations: 0 / 284.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01306, allocations: 8.031 kB / 284.2 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01306, allocations: 0 / 284.2 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.01318, allocations: 137.7 kB / 284.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01319, allocations: 7.922 kB / 284.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.01324, allocations: 12 kB / 284.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.01343, allocations: 68.8 kB / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.01344, allocations: 0 / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/0.01438, allocations: 1.434 MB / 285.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01439, allocations: 3.938 kB / 285.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.01463, allocations: 169.4 kB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.01466, allocations: 11.91 kB / 286 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.01469, allocations: 15.92 kB / 286 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.0148, allocations: 24.02 kB / 286 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.01485, allocations: 15.97 kB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01485, allocations: 3.984 kB / 286.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.01493, allocations: 82.78 kB / 286.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 286.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.01527, allocations: 75.84 kB / 286.2 MB, free: 3.879 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 0.0001019/0.01537, allocations: 84.36 kB / 286.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.0158, allocations: 341.4 kB / 286.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.0158, allocations: 4 kB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.01595, allocations: 171.9 kB / 286.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01613, allocations: 56.25 kB / 286.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.01753, allocations: 0.646 MB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.01759, allocations: 84.17 kB / 287.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.01766, allocations: 22.3 kB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.01781, allocations: 107.2 kB / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01781, allocations: 0 / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of Templates: time 0.00696/0.02477, allocations: 4.017 MB / 291.7 MB, free: 14.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6242117104120553]