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.001326/0.001326, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001507/0.001507, allocations: 205.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002053/0.002053, allocations: 63.89 kB / 378.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2944, allocations: 53.41 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004669/0.299, allocations: 2.626 MB / 434.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3005, allocations: 0.6584 MB / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3006, allocations: 7.938 kB / 435 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.3008, allocations: 39.58 kB / 435 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.301, allocations: 107.2 kB / 435.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.3013, allocations: 83.89 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3017, allocations: 354.5 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3019, allocations: 60.69 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3021, allocations: 135.4 kB / 435.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.3023, allocations: 135.4 kB / 435.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.3023, allocations: 28 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.3024, allocations: 35.94 kB / 435.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.3025, allocations: 63.77 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3026, allocations: 131.4 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.303, allocations: 325.1 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.303, allocations: 4 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.303, allocations: 4 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.303, allocations: 0 / 436.4 MB, free: 1.73 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001248/0.3043, allocations: 0.5661 MB / 437 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3043, allocations: 19.92 kB / 437 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.525e-05/0.3044, allocations: 32.75 kB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.3049, allocations: 222 kB / 437.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.3049, allocations: 16.8 kB / 437.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3049, allocations: 28.38 kB / 437.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.3056, allocations: 316.6 kB / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3056, allocations: 0 / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.3056, allocations: 8 kB / 437.6 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3056, allocations: 8 kB / 437.6 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.3062, allocations: 225.5 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.3078, allocations: 0.7688 MB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.3085, allocations: 194.6 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.3087, allocations: 80.8 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3088, allocations: 7.938 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.3092, allocations: 255.8 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.3092, allocations: 0 / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001588/0.3108, allocations: 426.2 kB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.3109, allocations: 136.5 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.3112, allocations: 261 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3112, allocations: 29.7 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3114, allocations: 188.1 kB / 440.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3114, allocations: 43.64 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.3115, allocations: 53.89 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3117, allocations: 334.8 kB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.312, allocations: 122.1 kB / 440.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.3124, allocations: 281.9 kB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.313, allocations: 256 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.313, allocations: 4 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009956/0.314, allocations: 413.2 kB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.3141, allocations: 33.7 kB / 441.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3141, allocations: 4 kB / 441.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.3145, allocations: 81.03 kB / 441.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3147, allocations: 35.97 kB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.3171, allocations: 1.791 MB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.3175, allocations: 51.86 kB / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3175, allocations: 8 kB / 443.6 MB, free: 10.01 MB / 350.1 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 0.0001784/0.3177, allocations: 152 kB / 443.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3177, allocations: 23.86 kB / 443.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.3178, allocations: 33.98 kB / 443.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3178, allocations: 4 kB / 443.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3178, allocations: 0 / 443.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3178, allocations: 0 / 443.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.3181, allocations: 197.2 kB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3181, allocations: 0 / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3182, allocations: 27.97 kB / 444.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.3185, allocations: 76.91 kB / 444.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3185, allocations: 8 kB / 444.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.3206, allocations: 1.771 MB / 445.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3206, allocations: 0 / 445.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.3214, allocations: 309.5 kB / 446.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.3215, allocations: 23.84 kB / 446.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3215, allocations: 8 kB / 446.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3218, allocations: 35.95 kB / 446.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.3219, allocations: 19.97 kB / 446.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3219, allocations: 8.234 kB / 446.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3221, allocations: 180.5 kB / 446.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3221, allocations: 0 / 446.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.3225, allocations: 83.83 kB / 446.6 MB, free: 6.906 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: 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.0001464/0.3226, allocations: 99.25 kB / 446.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.3236, allocations: 430.5 kB / 447.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3236, allocations: 0 / 447.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.3241, allocations: 231.1 kB / 447.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.3244, allocations: 51.36 kB / 447.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3263, allocations: 0.5549 MB / 447.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3265, allocations: 146.2 kB / 448.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3266, allocations: 14.3 kB / 448.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.3267, allocations: 23.44 kB / 448.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3267, allocations: 4 kB / 448.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of Templates: time 0.009856/0.3365, allocations: 4.349 MB / 452.5 MB, free: 0.9883 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.754049900919199]