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.001003/0.001003, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001071/0.001071, allocations: 165.9 kB / 24.99 MB, free: 8.793 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.66 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.392e-06/1.392e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.698e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003191/0.003208, allocations: 2.778 MB / 275.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004371, allocations: 0.6972 MB / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.004512, allocations: 7.938 kB / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.004652, allocations: 47.52 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.004832, allocations: 91.19 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.005144, allocations: 107.8 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.005537, allocations: 370.3 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.005694, allocations: 60.89 kB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.005905, allocations: 195.5 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.006041, allocations: 111.7 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.006082, allocations: 28 kB / 277.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.006114, allocations: 28 kB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.006166, allocations: 67.69 kB / 277.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.006263, allocations: 103.8 kB / 277.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.006518, allocations: 215.2 kB / 278 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006521, allocations: 0 / 278 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006521, allocations: 4 kB / 278 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006526, allocations: 4 kB / 278 MB, free: 12.91 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.0008713/0.007398, allocations: 0.6506 MB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.007431, allocations: 8.031 kB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.007512, allocations: 52.75 kB / 278.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.007772, allocations: 216.1 kB / 278.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.007789, allocations: 16.88 kB / 278.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.007816, allocations: 24.36 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.008162, allocations: 277.1 kB / 279.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.008171, allocations: 4.188 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.008192, allocations: 4.375 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.008203, allocations: 11.94 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.008355, allocations: 94.88 kB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.009278, allocations: 0.8741 MB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.009516, allocations: 119.1 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.009579, allocations: 35.67 kB / 280.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.009598, allocations: 0 / 280.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.009786, allocations: 183.2 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.009787, allocations: 0 / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007004/0.01049, allocations: 316.9 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.01053, allocations: 110.8 kB / 281 MB, free: 9.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01073, allocations: 300.2 kB / 281.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01075, allocations: 33.7 kB / 281.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.01084, allocations: 226.9 kB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.01087, allocations: 47.62 kB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.01094, allocations: 51.36 kB / 281.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01105, allocations: 0.5079 MB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.01113, allocations: 57.67 kB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.01126, allocations: 218 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.01142, allocations: 201.1 kB / 282.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01142, allocations: 0 / 282.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003679/0.01179, allocations: 308.5 kB / 282.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.01182, allocations: 33.7 kB / 282.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01183, allocations: 7.938 kB / 282.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.01212, allocations: 83.56 kB / 283 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.01222, allocations: 39.97 kB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.01345, allocations: 2.168 MB / 285.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.01359, allocations: 36.09 kB / 285.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.0136, allocations: 11.94 kB / 285.2 MB, free: 5.074 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 0.0001017/0.01371, allocations: 184.4 kB / 285.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.01373, allocations: 28.02 kB / 285.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.01376, allocations: 25.78 kB / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01376, allocations: 7.984 kB / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01377, allocations: 0 / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01377, allocations: 0 / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01391, allocations: 212.5 kB / 285.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01392, allocations: 3.984 kB / 285.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.01396, allocations: 12 kB / 285.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.01415, allocations: 71.62 kB / 285.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01416, allocations: 4 kB / 285.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.01517, allocations: 2.118 MB / 287.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01517, allocations: 8 kB / 287.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.01544, allocations: 219.8 kB / 288.1 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01547, allocations: 23.86 kB / 288.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.01549, allocations: 0 / 288.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.01557, allocations: 27.97 kB / 288.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.01563, allocations: 15.91 kB / 288.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01564, allocations: 8.047 kB / 288.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01576, allocations: 213.1 kB / 288.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01576, allocations: 3.938 kB / 288.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01603, allocations: 67.89 kB / 288.5 MB, free: 1.645 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 8.585e-05/0.01611, allocations: 111.2 kB / 288.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.01658, allocations: 407.9 kB / 289 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01658, allocations: 4.125 kB / 289 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.01674, allocations: 233.4 kB / 289.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01696, allocations: 52.14 kB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.01834, allocations: 0.6631 MB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.273e-05/0.0184, allocations: 92.17 kB / 290 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.609e-05/0.01847, allocations: 14.3 kB / 290 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.01852, allocations: 24.5 kB / 290.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01852, allocations: 0 / 290.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of Templates: time 0.006291/0.02481, allocations: 3.906 MB / 294 MB, free: 12.11 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.9094176390208304]