Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001509/0.001509, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001507/0.001507, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+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.SchmittTrigger,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.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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2658, allocations: 53.36 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00429/0.2701, allocations: 2.61 MB / 435 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2715, allocations: 0.6778 MB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2717, allocations: 7.938 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.2718, allocations: 43.58 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.272, allocations: 95.25 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2724, allocations: 99.81 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.2728, allocations: 354.5 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.273, allocations: 56.91 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2731, allocations: 139.4 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.2733, allocations: 127.4 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.2734, allocations: 36 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.2734, allocations: 28 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.2735, allocations: 67.7 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2737, allocations: 123.4 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.2741, allocations: 325.5 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2741, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2741, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2741, allocations: 0 / 437.1 MB, free: 1.938 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.001311/0.2754, allocations: 0.5702 MB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2754, allocations: 12.03 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.2755, allocations: 32.75 kB / 437.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.2759, allocations: 229.9 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.276, allocations: 16.75 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.276, allocations: 24.38 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.2767, allocations: 325.5 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2767, allocations: 0 / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.2767, allocations: 8 kB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2767, allocations: 4 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.2775, allocations: 245.6 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.2791, allocations: 0.8127 MB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.2799, allocations: 226.6 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.2802, allocations: 97 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2802, allocations: 7.938 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/0.2808, allocations: 233.2 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.2808, allocations: 0 / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002354/0.2831, allocations: 0.5721 MB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.2832, allocations: 106.8 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.2835, allocations: 265 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2835, allocations: 29.7 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2837, allocations: 180.2 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2837, allocations: 47.64 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2838, allocations: 41.7 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.284, allocations: 334.8 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.2843, allocations: 125.6 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.2848, allocations: 253.5 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.2855, allocations: 260.4 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2855, allocations: 0 / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001259/0.2867, allocations: 463.9 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.2868, allocations: 41.62 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2868, allocations: 3.938 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.2872, allocations: 80.86 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2874, allocations: 39.97 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.2901, allocations: 1.82 MB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2904, allocations: 43.86 kB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2904, allocations: 11.98 kB / 444.6 MB, free: 9.984 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.000156/0.2906, allocations: 139.5 kB / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.2906, allocations: 27.86 kB / 444.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.2907, allocations: 25.77 kB / 444.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2907, allocations: 4 kB / 444.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2907, allocations: 3.938 kB / 444.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2907, allocations: 0 / 444.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2909, allocations: 205.1 kB / 445 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2909, allocations: 0 / 445 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2911, allocations: 19.97 kB / 445 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2913, allocations: 80.94 kB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2914, allocations: 3.984 kB / 445.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.2937, allocations: 1.624 MB / 446.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2937, allocations: 3.938 kB / 446.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2948, allocations: 361 kB / 447.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2948, allocations: 23.8 kB / 447.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.2948, allocations: 4 kB / 447.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2951, allocations: 39.95 kB / 447.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.2951, allocations: 19.95 kB / 447.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2952, allocations: 7.938 kB / 447.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.2954, allocations: 180.5 kB / 447.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 447.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.2957, allocations: 71.89 kB / 447.4 MB, free: 7 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.0001519/0.2959, allocations: 107.2 kB / 447.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2969, allocations: 422.5 kB / 447.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2969, allocations: 4.062 kB / 447.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.2974, allocations: 230.5 kB / 448.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2977, allocations: 54.75 kB / 448.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2988, allocations: 481.4 kB / 448.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2989, allocations: 142.1 kB / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.299, allocations: 19.44 kB / 448.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.299, allocations: 0 / 448.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Templates: time 0.006909/0.3059, allocations: 4.191 MB / 453 MB, free: 1.281 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.448319770861417]