Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00129/0.00129, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001441/0.001441, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2805, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004434/0.2849, allocations: 2.805 MB / 434.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2863, allocations: 0.7128 MB / 435.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.2865, allocations: 4 kB / 435.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.2866, allocations: 47.56 kB / 435.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2868, allocations: 87.25 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2871, allocations: 99.81 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.2875, allocations: 354.6 kB / 436.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2877, allocations: 56.72 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2879, allocations: 139.4 kB / 436.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2881, allocations: 151.3 kB / 436.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.2882, allocations: 28 kB / 436.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.2882, allocations: 35.94 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.2883, allocations: 59.75 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.2885, allocations: 151.2 kB / 436.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.2889, allocations: 324.6 kB / 437.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2889, allocations: 0 / 437.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2889, allocations: 0 / 437.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2889, allocations: 0 / 437.1 MB, free: 2.352 MB / 334.1 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.001377/0.2903, allocations: 0.6455 MB / 437.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2903, allocations: 15.97 kB / 437.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.2904, allocations: 32.75 kB / 437.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.2909, allocations: 283.8 kB / 438.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2909, allocations: 16.81 kB / 438.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.291, allocations: 16.38 kB / 438.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.2917, allocations: 282.1 kB / 438.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2917, allocations: 0 / 438.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.2917, allocations: 11.98 kB / 438.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2917, allocations: 8 kB / 438.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.2925, allocations: 245.5 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.2943, allocations: 0.9482 MB / 439.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.2952, allocations: 238.5 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.2956, allocations: 96.78 kB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.2956, allocations: 4 kB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.2961, allocations: 177.8 kB / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2961, allocations: 0 / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002524/0.2986, allocations: 0.6474 MB / 440.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.2987, allocations: 114.8 kB / 440.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.299, allocations: 254.6 kB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.299, allocations: 29.7 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2992, allocations: 180.1 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.2993, allocations: 43.67 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.2994, allocations: 53.66 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2996, allocations: 338.7 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.2999, allocations: 95.92 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.3003, allocations: 168.5 kB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.3011, allocations: 271.4 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3011, allocations: 8 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001274/0.3024, allocations: 431.7 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.3024, allocations: 33.7 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3024, allocations: 4 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.3028, allocations: 76.8 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.303, allocations: 43.97 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.306, allocations: 1.94 MB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.3063, allocations: 59.8 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3063, allocations: 8 kB / 444.9 MB, free: 10.09 MB / 350.1 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.0001844/0.3065, allocations: 137.8 kB / 445 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.3066, allocations: 24.08 kB / 445 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.3066, allocations: 25.77 kB / 445 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3066, allocations: 7.938 kB / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.3066, allocations: 0 / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3066, allocations: 0 / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.307, allocations: 305.5 kB / 445.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.307, allocations: 0 / 445.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3071, allocations: 24.02 kB / 445.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.3074, allocations: 76.8 kB / 445.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3074, allocations: 11.92 kB / 445.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.31, allocations: 1.75 MB / 447.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.31, allocations: 0 / 447.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3111, allocations: 360.8 kB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.3112, allocations: 101.1 kB / 447.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.3113, allocations: 7.938 kB / 447.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.3115, allocations: 35.95 kB / 447.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.3116, allocations: 19.97 kB / 447.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3116, allocations: 4 kB / 447.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.3118, allocations: 194 kB / 447.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3118, allocations: 4 kB / 447.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.3122, allocations: 67.89 kB / 448 MB, free: 6.723 MB / 350.1 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.000195/0.3124, allocations: 111.2 kB / 448.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3135, allocations: 397.8 kB / 448.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3135, allocations: 0 / 448.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.3141, allocations: 231 kB / 448.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3144, allocations: 45.44 kB / 448.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3155, allocations: 466.9 kB / 449.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3159, allocations: 0.744 MB / 449.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.98e-05/0.316, allocations: 34.2 kB / 450 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.3161, allocations: 23.44 kB / 450 MB, free: 4.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3161, allocations: 0 / 450 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Templates: time 0.009001/0.3251, allocations: 4.001 MB / 454 MB, free: 0.6289 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.56648482568562]