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.001002/0.001002, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.000998/0.000998, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.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 1.323e-06/1.323e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.485e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004612/0.004637, allocations: 2.755 MB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.006136, allocations: 0.6894 MB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.006317, allocations: 7.938 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.006464, allocations: 39.52 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.006681, allocations: 99.25 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.006999, allocations: 103.7 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.007442, allocations: 370.4 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.007609, allocations: 52.89 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.007919, allocations: 199.5 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.008099, allocations: 115.7 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.008155, allocations: 32 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.933e-05/0.008205, allocations: 32 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.008265, allocations: 63.69 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.008373, allocations: 103.8 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.008668, allocations: 215.2 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.008673, allocations: 3.984 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008674, allocations: 0 / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.008679, allocations: 0 / 278.3 MB, free: 12.39 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.001088/0.009768, allocations: 0.6506 MB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.009808, allocations: 8.031 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.009894, allocations: 52.73 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.01016, allocations: 220 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.01018, allocations: 16.88 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.01022, allocations: 24.38 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.01063, allocations: 261 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.01064, allocations: 4.125 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.01068, allocations: 8.375 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01069, allocations: 7.938 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.01084, allocations: 75.38 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01198, allocations: 0.8434 MB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.01222, allocations: 107.1 kB / 280.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.01229, allocations: 35.66 kB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01231, allocations: 4 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.01251, allocations: 175.4 kB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01251, allocations: 0 / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00089/0.0134, allocations: 301 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.01346, allocations: 102.8 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.01368, allocations: 292.1 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.0137, allocations: 33.7 kB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.01383, allocations: 230.9 kB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.01387, allocations: 47.56 kB / 281.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.01395, allocations: 51.34 kB / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003988/0.01435, allocations: 0.5001 MB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.01443, allocations: 49.67 kB / 282.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01457, allocations: 198.8 kB / 282.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.01475, allocations: 161.1 kB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01475, allocations: 4 kB / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004677/0.01522, allocations: 280.3 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.01526, allocations: 40.67 kB / 283 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01527, allocations: 4.219 kB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.01557, allocations: 75.77 kB / 283.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.0157, allocations: 39.86 kB / 283.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.01715, allocations: 2.114 MB / 285.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.01735, allocations: 35.86 kB / 285.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01737, allocations: 8 kB / 285.3 MB, free: 4.852 MB / 266.7 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.0001241/0.01749, allocations: 176.5 kB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01753, allocations: 27.86 kB / 285.5 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.01757, allocations: 25.77 kB / 285.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01757, allocations: 0 / 285.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01757, allocations: 0 / 285.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01758, allocations: 0 / 285.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.01775, allocations: 181 kB / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01776, allocations: 3.938 kB / 285.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.01784, allocations: 15.98 kB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/0.01809, allocations: 75.56 kB / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.0181, allocations: 0 / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.01928, allocations: 1.843 MB / 287.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01928, allocations: 0 / 287.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01965, allocations: 211.7 kB / 287.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.01969, allocations: 27.78 kB / 287.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.01972, allocations: 7.938 kB / 287.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.01986, allocations: 27.97 kB / 287.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.01992, allocations: 15.97 kB / 287.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01993, allocations: 4 kB / 287.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.02007, allocations: 197.1 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02007, allocations: 0 / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.02043, allocations: 75.88 kB / 288.2 MB, free: 1.777 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 0.0001287/0.02056, allocations: 107.2 kB / 288.3 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.02098, allocations: 352 kB / 288.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02098, allocations: 0 / 288.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.02119, allocations: 237.3 kB / 288.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.02148, allocations: 44.91 kB / 288.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.02264, allocations: 413.7 kB / 289.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.02269, allocations: 80.31 kB / 289.4 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.02278, allocations: 21.95 kB / 289.4 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.02295, allocations: 122.2 kB / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02295, allocations: 0 / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of Templates: time 0.008015/0.03097, allocations: 4.157 MB / 293.7 MB, free: 12.23 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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] Reference file matches [Calling sys.exit(0), Time elapsed: 2.814580589067191]