Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009468/0.0009468, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009861/0.0009861, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.012 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.929e-06/1.096e-05, allocations: 9.406 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002413/0.002424, allocations: 2.779 MB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008513/0.003275, allocations: 0.6931 MB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.003373, allocations: 7.938 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.00348, allocations: 47.52 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.003621, allocations: 99.17 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.003804, allocations: 91.7 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.004066, allocations: 366.3 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004175, allocations: 62.7 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.004342, allocations: 195.5 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004458, allocations: 115.6 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.004494, allocations: 36 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.004521, allocations: 28 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.004566, allocations: 67.73 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.00464, allocations: 107.7 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.004832, allocations: 215.2 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.004833, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004833, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004836, allocations: 0 / 278.3 MB, free: 12.09 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000552/0.005389, allocations: 0.5297 MB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.005418, allocations: 15.98 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.00547, allocations: 40.89 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.005653, allocations: 181.3 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005665, allocations: 12.88 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.005689, allocations: 28.38 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.005905, allocations: 254.4 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005912, allocations: 192 / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.005927, allocations: 8.375 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005933, allocations: 11.94 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.006012, allocations: 63.39 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.006656, allocations: 0.5984 MB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.006798, allocations: 90.53 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.006833, allocations: 36.84 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.006847, allocations: 4 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.006988, allocations: 199.8 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.006989, allocations: 0 / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004428/0.007432, allocations: 237.1 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.007479, allocations: 136.5 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.007599, allocations: 229 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.007616, allocations: 29.7 kB / 281 MB, free: 9.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.007681, allocations: 168.7 kB / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.007707, allocations: 51.52 kB / 281.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.007758, allocations: 49.69 kB / 281.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.007832, allocations: 338.8 kB / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/0.007872, allocations: 45.69 kB / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.007962, allocations: 211.2 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.008057, allocations: 123.6 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.008061, allocations: 7.938 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002319/0.008293, allocations: 244.6 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.008313, allocations: 29.7 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008318, allocations: 4 kB / 282.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.008534, allocations: 80.91 kB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.008607, allocations: 27.98 kB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008111/0.009418, allocations: 1.368 MB / 283.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.009532, allocations: 43.81 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.009542, allocations: 4 kB / 283.8 MB, free: 6.18 MB / 266.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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$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,5)} Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/0.009617, allocations: 125.8 kB / 283.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.00964, allocations: 23.91 kB / 283.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.009662, allocations: 26.12 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.009663, allocations: 0 / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009665, allocations: 4.078 kB / 283.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009669, allocations: 7.969 kB / 283.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.009775, allocations: 137.7 kB / 284.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.009777, allocations: 4 kB / 284.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.009816, allocations: 15.98 kB / 284.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.009978, allocations: 80.7 kB / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.009985, allocations: 3.938 kB / 284.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/0.01066, allocations: 1.36 MB / 285.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01066, allocations: 0 / 285.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.01082, allocations: 161.8 kB / 285.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.01084, allocations: 27.8 kB / 285.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01086, allocations: 7.984 kB / 285.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.01094, allocations: 23.92 kB / 285.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01098, allocations: 23.95 kB / 285.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.01099, allocations: 4 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.01105, allocations: 82.77 kB / 285.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01105, allocations: 4 kB / 285.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01122, allocations: 83.84 kB / 285.9 MB, free: 3.84 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 6.746e-05/0.01129, allocations: 76.42 kB / 286 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.01156, allocations: 307.4 kB / 286.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.01156, allocations: 8 kB / 286.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01168, allocations: 190.5 kB / 286.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.01181, allocations: 44.41 kB / 286.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.01257, allocations: 484.7 kB / 287 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.01261, allocations: 84.19 kB / 287.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01267, allocations: 26.27 kB / 287.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.01279, allocations: 103.3 kB / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01279, allocations: 0 / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Templates: time 0.09525/0.108, allocations: 4.239 MB / 291.5 MB, free: 25.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:R1,R2,Vin,Vns,Vps,f,k,opAmp.Tau,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.initOpAmp,opAmp.out.i,opAmp.out.v,opAmp.useFirstOrder,opAmp.useSupply,opAmp.v_out,r1.R,r1.T,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_ref,r2.alpha,r2.i,time,vHys,vIn.V,vIn.falling,vIn.nperiod,vIn.offset,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.startTime,vIn.width filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff.mat", vars={"opAmp.out.i", "opAmp.out.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff.ref.mat", vars={"opAmp.out.i", "opAmp.out.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8069417253136635]