Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001772/0.001772, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002295/0.002295, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.InvertingSchmittTrigger,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.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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2907, allocations: 53.37 MB / 431.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004356/0.2951, allocations: 2.8 MB / 434.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2965, allocations: 0.7167 MB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2967, allocations: 4 kB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2968, allocations: 43.58 kB / 435.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.297, allocations: 103.2 kB / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.2973, allocations: 87.83 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.2977, allocations: 362.5 kB / 435.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2979, allocations: 56.91 kB / 435.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2981, allocations: 143.5 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.2983, allocations: 151.3 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.2983, allocations: 28 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.2984, allocations: 36 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.2985, allocations: 59.77 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2986, allocations: 147.3 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.299, allocations: 323.9 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.299, allocations: 0 / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.299, allocations: 0 / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.299, allocations: 3.938 kB / 436.7 MB, free: 1.871 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.001259/0.3003, allocations: 0.578 MB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3003, allocations: 8.031 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.3004, allocations: 32.75 kB / 437.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.3008, allocations: 229.9 kB / 437.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3008, allocations: 16.81 kB / 437.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.3009, allocations: 20.38 kB / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.3015, allocations: 274.1 kB / 437.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3015, allocations: 11.94 kB / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3015, allocations: 4 kB / 437.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3016, allocations: 4 kB / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.3023, allocations: 241.6 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.304, allocations: 0.9175 MB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.3049, allocations: 230.5 kB / 439.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3052, allocations: 100.8 kB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3052, allocations: 224 / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/0.3057, allocations: 181.7 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3057, allocations: 8 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002326/0.308, allocations: 0.5682 MB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.3081, allocations: 114.7 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3085, allocations: 277.8 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3085, allocations: 25.7 kB / 440.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3087, allocations: 184 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.3087, allocations: 43.69 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3088, allocations: 45.66 kB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.309, allocations: 338.8 kB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.3093, allocations: 99.92 kB / 441.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.3097, allocations: 186.2 kB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.3104, allocations: 286 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3104, allocations: 0 / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001274/0.3117, allocations: 450.3 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.3117, allocations: 29.7 kB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3117, allocations: 4 kB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.3122, allocations: 80.86 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3124, allocations: 43.91 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.3155, allocations: 1.902 MB / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.3159, allocations: 47.81 kB / 444.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3159, allocations: 12 kB / 444.2 MB, free: 9.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0002014/0.3161, allocations: 145.8 kB / 444.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.3161, allocations: 23.86 kB / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.3162, allocations: 33.7 kB / 444.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3162, allocations: 4.031 kB / 444.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3162, allocations: 0 / 444.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3162, allocations: 0 / 444.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.3166, allocations: 264.5 kB / 444.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3166, allocations: 0 / 444.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.3167, allocations: 27.91 kB / 444.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.317, allocations: 72.8 kB / 444.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.317, allocations: 11.88 kB / 444.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.3195, allocations: 1.812 MB / 446.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3195, allocations: 3.969 kB / 446.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3206, allocations: 359.8 kB / 447 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3206, allocations: 39.73 kB / 447 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3207, allocations: 4 kB / 447 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3209, allocations: 31.95 kB / 447 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.321, allocations: 19.97 kB / 447.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.321, allocations: 0 / 447.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3212, allocations: 197.2 kB / 447.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3212, allocations: 4 kB / 447.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.3216, allocations: 67.94 kB / 447.3 MB, free: 6.617 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.0001469/0.3218, allocations: 99.25 kB / 447.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3231, allocations: 473.8 kB / 447.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3231, allocations: 0 / 447.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.3236, allocations: 226.5 kB / 448.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3239, allocations: 56.77 kB / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.327, allocations: 0.9022 MB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3274, allocations: 0.744 MB / 449.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3276, allocations: 22.3 kB / 449.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.3276, allocations: 23.44 kB / 449.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3276, allocations: 0 / 449.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of Templates: time 0.01013/0.3378, allocations: 4.009 MB / 453.8 MB, free: 16 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.73037796583958]