Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.0009537/0.0009537, 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.001049/0.001049, 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 0.9857/0.9857, allocations: 177 MB / 205.2 MB, free: 5.055 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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.738e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.006721/0.006748, allocations: 2.819 MB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.01133, allocations: 0.7086 MB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.01148, allocations: 7.938 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.01162, allocations: 43.56 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.01181, allocations: 107.1 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.01205, allocations: 79.83 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.0124, allocations: 370.3 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.01254, allocations: 58.72 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.01275, allocations: 203.5 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.01291, allocations: 119.6 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.01295, allocations: 28 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.01299, allocations: 28 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.01304, allocations: 67.69 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.01315, allocations: 111.7 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.01346, allocations: 215.2 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01346, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01346, allocations: 4 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.01347, allocations: 0 / 278.4 MB, free: 12.02 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.0007979/0.01427, allocations: 0.5297 MB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01431, allocations: 11.98 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.01438, allocations: 40.89 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.01465, allocations: 185.3 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.01466, allocations: 16.88 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.01469, allocations: 24.38 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.01499, allocations: 254.4 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.015, allocations: 192 / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.01502, allocations: 16.38 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01503, allocations: 7.938 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.01514, allocations: 63.45 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.01903, allocations: 0.6313 MB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.0192, allocations: 90.53 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.01924, allocations: 24.84 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.01926, allocations: 4 kB / 280.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.01945, allocations: 207.8 kB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.01945, allocations: 0 / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004578/0.01991, allocations: 221.4 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.01996, allocations: 136.5 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.02009, allocations: 237 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.02011, allocations: 29.7 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.02018, allocations: 172.6 kB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.0202, allocations: 55.56 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.02026, allocations: 53.88 kB / 281.4 MB, free: 8.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.02034, allocations: 338.7 kB / 281.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.02039, allocations: 50.16 kB / 281.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.02049, allocations: 214 kB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.02061, allocations: 145.2 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02061, allocations: 3.938 kB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002621/0.02087, allocations: 252.9 kB / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.02091, allocations: 37.64 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.02092, allocations: 3.984 kB / 282.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.02122, allocations: 80.77 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.02135, allocations: 39.97 kB / 282.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.02287, allocations: 1.514 MB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.02304, allocations: 47.84 kB / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.02306, allocations: 15.94 kB / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 20 * 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 9.867e-05/0.02315, allocations: 129.7 kB / 284.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.02318, allocations: 19.97 kB / 284.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.02322, allocations: 26.11 kB / 284.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.02322, allocations: 4 kB / 284.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02322, allocations: 0 / 284.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02322, allocations: 4 kB / 284.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.02336, allocations: 141.7 kB / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02336, allocations: 0 / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.02342, allocations: 15.98 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.02366, allocations: 76.78 kB / 284.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.02367, allocations: 128 / 284.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.02473, allocations: 1.514 MB / 286 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02473, allocations: 0 / 286 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.02498, allocations: 177.7 kB / 286.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.025, allocations: 19.86 kB / 286.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.02503, allocations: 0 / 286.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02514, allocations: 27.97 kB / 286.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.0252, allocations: 19.97 kB / 286.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02521, allocations: 8.234 kB / 286.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.529e-05/0.0253, allocations: 82.72 kB / 286.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0253, allocations: 0 / 286.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.02564, allocations: 79.89 kB / 286.4 MB, free: 3.371 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 0.0001148/0.02576, allocations: 88.36 kB / 286.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.02613, allocations: 315.3 kB / 286.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.02614, allocations: 4 kB / 286.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.02631, allocations: 182.5 kB / 287 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.02647, allocations: 60.39 kB / 287.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.02736, allocations: 489.2 kB / 287.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.0274, allocations: 84.31 kB / 287.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.02747, allocations: 18.3 kB / 287.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.0276, allocations: 107.3 kB / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0276, allocations: 0 / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of Templates: time 0.1063/0.1339, allocations: 4.239 MB / 292 MB, free: 25.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8135225572623312]